dblayeroo: do not allow an array of array to be provided to displayAdd
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3901 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1562,6 +1562,9 @@ class dblayeroo
|
||||
$this->displayColumn = array ();
|
||||
foreach ($columnNames as $nb => $display)
|
||||
{
|
||||
if (! is_string ($display))
|
||||
$this->DBException (
|
||||
"displayAdd: The display column name #$nb is not a string");
|
||||
$display = $name = trim ($display);
|
||||
$pos = strpos ($display, "(");
|
||||
if ($pos !== false)
|
||||
|
||||
Reference in New Issue
Block a user