Fixing silly (like me) typo.

This commit is contained in:
stronk7
2007-01-27 23:39:57 +00:00
parent 358b1e9359
commit ad88038fdb
+1 -1
View File
@@ -73,7 +73,7 @@ function execute_sql($command, $feedback=true) {
/// If the trailing ; is there, fix and warn!
if (substr($command, strlen($command)-1, 1) == ';') {
/// One noticeable exception, Oracle PL/SQL blocks require ending in ";"
if ($db->family == 'oracle' && substr($command, -4) == 'END;') {
if ($CFG->dbfamily == 'oracle' && substr($command, -4) == 'END;') {
/// Nothing to fix/warn. The command is one PL/SQL block, so it's ok.
} else {
$command = trim($command, ';');