From ad88038fdbc8b3881c6740f6ca8ff6983e94d2bb Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sat, 27 Jan 2007 23:39:57 +0000 Subject: [PATCH] Fixing silly (like me) typo. --- lib/dmllib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dmllib.php b/lib/dmllib.php index 53c2e2e1f6..b850a15b63 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -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, ';'); -- 2.39.5