From f78e9c549f7009650e0db3901b249c50c80c7354 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Mon, 12 Feb 2007 20:22:34 +0000 Subject: [PATCH] Fix r19896 for bug 8944 (pressing 'u' in vim before committing is a bad idea). --- includes/StubObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/StubObject.php b/includes/StubObject.php index 18c77267a1..4035f1bd34 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -24,7 +24,7 @@ class StubObject { } static function isRealObject( $obj ) { - return is_object( $obj ) && !(instanceof 'StubObject'); + return is_object( $obj ) && !($obj instanceof StubObject); } function _call( $name, $args ) { -- 2.20.1