From: Antoine Musso Date: Mon, 12 Feb 2007 20:22:34 +0000 (+0000) Subject: Fix r19896 for bug 8944 (pressing 'u' in vim before committing is a bad idea). X-Git-Tag: 1.31.0-rc.0~54055 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=f78e9c549f7009650e0db3901b249c50c80c7354;p=lhc%2Fweb%2Fwiklou.git Fix r19896 for bug 8944 (pressing 'u' in vim before committing is a bad idea). --- 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 ) {