From 407d8b91dac749d7b23a7dab8328e36e7b9b484a Mon Sep 17 00:00:00 2001 From: azerttyu Date: Sun, 19 Nov 2017 15:09:04 +0100 Subject: [PATCH] Don't raise a blocking error * With deprecate error class, it's only a warning, not a error. Should solve #210 --- bureau/class/m_err.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_err.php b/bureau/class/m_err.php index 681944c2..3e054893 100644 --- a/bureau/class/m_err.php +++ b/bureau/class/m_err.php @@ -150,7 +150,7 @@ class m_err { global $msg; $trace = debug_backtrace(); $caller = $trace[2]; - $msg->raise( "error","err","Deprecation warning: The old messaging class is still used by ".json_encode( $caller )); + $msg->raise("info", "err", "Deprecation warning: The old messaging class is still used by ".json_encode($caller)); } } /* Classe m_err */