Index: temp/trunk/html/admin/system/update.php
===================================================================
--- temp/trunk/html/admin/system/update.php	(revision 5307)
+++ temp/trunk/html/admin/system/update.php	(revision 5308)
@@ -197,5 +197,7 @@
 		$arrInstallSql = split(";",$arrRet[0]['install_sql']);
 		foreach($arrInstallSql as $key => $val){
-			$ret = $objQuery->query(trim($val),"",true);
+			if (trim($val) != ""){
+				$ret = $objQuery->query(trim($val),"",true);
+			}
 		}
 		if(DB::isError($ret)) {
