From 06b86ee380ac0f403a0bf11f86c024af3bafaeb6 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 4 Mar 2021 16:12:01 -0800 Subject: [PATCH] Avoid a PHP8 error when update() fails. --- e107_handlers/e_db_pdo_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/e_db_pdo_class.php b/e107_handlers/e_db_pdo_class.php index f1a04dae7..3ce59f149 100644 --- a/e107_handlers/e_db_pdo_class.php +++ b/e107_handlers/e_db_pdo_class.php @@ -1085,7 +1085,7 @@ class e_db_pdo implements e_db } else { - $this->dbError("db_Update ({$query})"); + $this->dbError('db_Update ('.print_r($query, true).')'); return false; } }