Last modified: 2010-05-15 15:48:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11537, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9537 - PHP 5.2.0: is_a(): Deprecated. Please use the instanceof operator
PHP 5.2.0: is_a(): Deprecated. Please use the instanceof operator
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Email (Other open bugs)
1.9.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://wiki.infostudium.de
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-09 11:08 UTC by Sven Wappler
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sven Wappler 2007-04-09 11:08:46 UTC
If a user tries to register or wants to confirm his mail-address, the user gets
the following error: is_a(): Deprecated. Please use the instanceof operator 
The mail although was send successfully.

File: /includes/StubObject.php
Line: 27

return is_object( $obj ) && !is_a( $obj, 'StubObject' );

My solution:
return is_object( $obj ) && !($obj instanceof StubObject);
Comment 1 Rob Church 2007-04-09 12:35:57 UTC
This was fixed in trunk in r19896.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links