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
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user