From 5e9b1f78798a79f3d7ffff4096c87087b1987248 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Wed, 22 Dec 2021 23:52:29 +0100 Subject: [PATCH] Fix in Webmodel for php8 --- src/Webmodel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Webmodel.php b/src/Webmodel.php index d0d0376..fb1fc2e 100644 --- a/src/Webmodel.php +++ b/src/Webmodel.php @@ -74,7 +74,7 @@ class Webmodel { * String where save the query if error. */ - static public $save_query=array(); + static public $save_query=0; /** * Variable for the db prefix. For security, change this always.