From 914597ee9f992a7c96290666347eb34830cbcb81 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Wed, 30 Aug 2006 16:06:16 +0000 Subject: [PATCH] ...where = should be == ... --- lib/xmldb/classes/generators/mysql/mysql.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/xmldb/classes/generators/mysql/mysql.class.php b/lib/xmldb/classes/generators/mysql/mysql.class.php index 7cb7320806..3ac850bdf5 100644 --- a/lib/xmldb/classes/generators/mysql/mysql.class.php +++ b/lib/xmldb/classes/generators/mysql/mysql.class.php @@ -120,9 +120,9 @@ class XMLDBmysql extends XMLDBGenerator { if (empty($xmldb_length)) { $xmldb_length = 'small'; } - if ($xmldb_length = 'small') { + if ($xmldb_length == 'small') { $dbtype = 'TEXT'; - } else if ($xmldb_length = 'medium') { + } else if ($xmldb_length == 'medium') { $dbtype = 'MEDIUMTEXT'; } else { $dbtype = 'BIGTEXT'; @@ -132,9 +132,9 @@ class XMLDBmysql extends XMLDBGenerator { if (empty($xmldb_length)) { $xmldb_length = 'small'; } - if ($xmldb_length = 'small') { + if ($xmldb_length == 'small') { $dbtype = 'BLOB'; - } else if ($xmldb_length = 'medium') { + } else if ($xmldb_length == 'medium') { $dbtype = 'MEDIUMBLOB'; } else { $dbtype = 'BIGBLOB'; -- 2.39.5