r92522 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92521
|
r92522
|
r92523
>
Date:
11:10, 19 July 2011
Author:
ashley
Status:
ok
Tags:
Comment:
SocialProfile: fix "PHP Notice: Undefined variable: gift in ..\SocialProfile\SystemGifts\UserSystemGiftsClass.php on line 223" when trying to view a nonexistent system gift
Modified paths:
/trunk/extensions/SocialProfile/SystemGifts/UserSystemGiftsClass.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SocialProfile/SystemGifts/UserSystemGiftsClass.php
—
—
@@ -208,6 +208,7 @@
209
209
array( 'system_gift' => array( 'INNER JOIN', 'sg_gift_id = gift_id' ) )
210
210
);
211
211
$row = $dbr->fetchObject( $res );
212
+ $gift = array();
212
213
if ( $row ) {
213
214
$gift['id'] = $row->sg_id;
214
215
$gift['user_id'] = $row->sg_user_id;
Status & tagging log
12:24, 8 August 2011
😂
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
new
added:
ok]
14:57, 6 August 2011
Jack Phoenix
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
deferred
added:
new]
23:11, 5 August 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
new
added:
deferred]
19:35, 23 July 2011
Jack Phoenix
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
deferred
added:
new]
12:56, 22 July 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
new
added:
deferred]
17:11, 19 July 2011
Jack Phoenix
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
deferred
added:
new]
15:56, 19 July 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r92522
[
removed:
new
added:
deferred]