dblayeroo: update exception message to add the table name
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3568 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -2282,8 +2282,9 @@ class dblayeroo
|
||||
"The field '%s' must be test on foreign, but is not provided"),
|
||||
$field);
|
||||
if (! array_key_exists ($params[0], $this->setForeignObj))
|
||||
$this->DBException (dgettext ("domframework",
|
||||
"No foreign object configured to test the foreign key"));
|
||||
$this->DBException (sprintf (dgettext ("domframework",
|
||||
"No foreign object configured to test the foreign key for table '%s'"),
|
||||
$this->table));
|
||||
$this->debugLog ("CLONE to check foreign constraint [$field]");
|
||||
$objTmp = clone $this->setForeignObj[$params[0]];
|
||||
$objTmp->debug = $this->debug;
|
||||
|
||||
Reference in New Issue
Block a user