dblayer : remove a 506 http code unknown
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2023 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -627,7 +627,7 @@ class dblayer extends PDO
|
||||
{
|
||||
if (!in_array ($f, array_keys ($this->fields)))
|
||||
throw new Exception (sprintf (dgettext("domframework",
|
||||
"Field '%s' not allowed"), $f), 506);
|
||||
"Field '%s' not allowed"), $f), 500);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user