From af50dcc5ff1be7d86b14944d0f204d4f923f6b64 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 13 Feb 2019 14:06:00 -0800 Subject: [PATCH] Minor fix --- e107_handlers/e_db_pdo_class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e_db_pdo_class.php b/e107_handlers/e_db_pdo_class.php index ed56ec99c..1b9c42ead 100644 --- a/e107_handlers/e_db_pdo_class.php +++ b/e107_handlers/e_db_pdo_class.php @@ -1672,11 +1672,11 @@ class e_db_pdo implements e_db * @param $table (without the prefix) * @param $field * @param string $where (optional) - * @return bool|resource + * @return mixed */ public function max($table, $field, $where='') { - $qry = "SELECT MAX(".$field.") FROM `".$this->mySQLPrefix.$table."` "; + $qry = "SELECT MAX(".$field.") FROM ".$this->mySQLPrefix.$table; if(!empty($where)) {