From 7e90cfb4b5bbb1ef266f298721e671a84acb0530 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 6 Jun 2019 07:06:55 -0700 Subject: [PATCH] Fix for mysql tests. --- e107_handlers/mysql_class.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/e107_handlers/mysql_class.php b/e107_handlers/mysql_class.php index f559abba8..527e300fb 100644 --- a/e107_handlers/mysql_class.php +++ b/e107_handlers/mysql_class.php @@ -3248,7 +3248,11 @@ class e_db_mysql /** * Backwards compatibility */ -class db extends e_db_mysql -{ +if(!class_exists('db')) +{ + class db extends e_db_mysql + { + + } }