dblayeroo : manage namespace correctely
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4942 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1914,7 +1914,8 @@ class dblayeroo
|
|||||||
if (! is_object ($object))
|
if (! is_object ($object))
|
||||||
$this->DBException ("Invalid object provided to join (not object)");
|
$this->DBException ("Invalid object provided to join (not object)");
|
||||||
if (! is_subclass_of ($object, __CLASS__) &&
|
if (! is_subclass_of ($object, __CLASS__) &&
|
||||||
get_class ($object) !== "dblayeroo")
|
get_class ($object) !== "dblayeroo" &&
|
||||||
|
get_class ($object) !== __NAMESPACE__."\dblayeroo")
|
||||||
$this->DBException (
|
$this->DBException (
|
||||||
"Invalid object provided to join (not dblayeroo object)");
|
"Invalid object provided to join (not dblayeroo object)");
|
||||||
if ($this->dsn !== $object->dsn)
|
if ($this->dsn !== $object->dsn)
|
||||||
|
|||||||
Reference in New Issue
Block a user