Browse Source

! Misnamed variable

Signed-off-by: John Rayes <[email protected]>
John Rayes 11 years ago
parent
commit
d5d4f7241c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      other/install.php

+ 1 - 1
other/install.php

@@ -1131,7 +1131,7 @@ function DatabasePopulation()
 
 			// Error 1050: Table already exists!
 			// @todo Needs to be made better!
-			if ((($db_type != 'mysql' && $db_type != 'mysqli') || $db_errno($db_connection) == 1050) && preg_match('~^\s*CREATE TABLE ([^\s\n\r]+?)~', $current_statement, $match) == 1)
+			if ((($db_type != 'mysql' && $db_type != 'mysqli') || $db_errorno($db_connection) == 1050) && preg_match('~^\s*CREATE TABLE ([^\s\n\r]+?)~', $current_statement, $match) == 1)
 			{
 				$exists[] = $match[1];
 				$incontext['sql_results']['table_dups']++;