[Session] Fixed bug when checking instance type

This commit is contained in:
Chris Boden 2013-01-05 16:30:37 -05:00
parent e7887a4b17
commit e6622a8e46

View File

@ -73,7 +73,7 @@ class VirtualSessionStorage extends NativeSessionStorage {
throw new \InvalidArgumentException('Handler must be instance of SessionHandlerInterface'); throw new \InvalidArgumentException('Handler must be instance of SessionHandlerInterface');
} }
if (!($saveHandler instanceof \VirtualProxy)) { if (!($saveHandler instanceof VirtualProxy)) {
$saveHandler = new VirtualProxy($saveHandler); $saveHandler = new VirtualProxy($saveHandler);
} }