From 3ad9d4be68e0696526e77195a24fb04adc53c3fc Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 19 Jul 2017 07:02:01 +0000 Subject: [PATCH] dblayeroo: add more details in case of error in development git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3815 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- dblayeroo.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dblayeroo.php b/dblayeroo.php index 0249338..8523bf2 100644 --- a/dblayeroo.php +++ b/dblayeroo.php @@ -1283,7 +1283,8 @@ class dblayeroo $this->DBException ("Parameter titles invalid: title too long"); if (! is_string ($translation)) $this->DBException ("Parameter titles invalid: ". - "translation not a string"); + "translation not a string (table '$this->table',". + "field '$title')"); if (mb_strlen ($translation) > 64) $this->DBException ("Parameter titles invalid: translation too long"); }