Back-ported to PHP4 (type-hints removed)
[mailer.git] / 0.2.1 / inc / db / lib-mysql3.php
index 019c603c309b285619de8a5908190e0adc615dde..5d2cfd9cff4af3844c1da9e6dfd6eea876abc2c5 100644 (file)
@@ -263,7 +263,7 @@ function SQL_ESCAPE($str)
        }
 }
 // SELECT query string from table, columns and so on... ;-)
        }
 }
 // SELECT query string from table, columns and so on... ;-)
-function SQL_RESULT_FROM_ARRAY ($table, array $columns, $idRow, $id) {
+function SQL_RESULT_FROM_ARRAY ($table, $columns, $idRow, $id) {
        // Prepare the SQL statement
        $SQL = "SELECT ".implode(", ", $columns)." FROM "._MYSQL_PREFIX."_".$table." WHERE ".$idRow."=%d LIMIT 1";
 
        // Prepare the SQL statement
        $SQL = "SELECT ".implode(", ", $columns)." FROM "._MYSQL_PREFIX."_".$table." WHERE ".$idRow."=%d LIMIT 1";