Permalink
Browse files

5536 replace test on with test of false on queryDB() ALTER query

  • Loading branch information...
atutorlangs committed Sep 20, 2014
1 parent f70b9ff commit c62d8393342c8875152ea2ebf2ad0bbc148215e3
Showing with 1 addition and 2 deletions.
  1. +1 −2 include/classes/sqlutility.class.php
@@ -223,8 +223,7 @@ public static function queryFromFile($sql_file_path, $table_prefix = null, $in_p
} elseif($prefixed_query[1] == 'REPLACE INTO') {
queryDB($prefixed_query[0], array(), FALSE, FALSE);
} elseif($prefixed_query[1] == 'ALTER TABLE') {
$result = queryDB($prefixed_query[0], array());
if($result > 0){
if(queryDB($prefixed_query[0], array()) !== false){
if ($in_plain_msg) {
$progress[] = 'Table <strong>'.$table.'</strong> altered successfully.';
} else {

0 comments on commit c62d839

Please sign in to comment.