r77044 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r77043
|
r77044
|
r77045
>
Date:
23:45, 19 November 2010
Author:
yaron
Status:
deferred
Tags:
Comment:
Fix for "more than one default form for this page" error being displayed incorrectly, when the same form has been found more than one time
Modified paths:
/trunk/extensions/SemanticForms/includes/SF_LinkUtils.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/SemanticForms/includes/SF_LinkUtils.php
—
—
@@ -96,7 +96,7 @@
97
97
foreach ( $res as $wiki_page_value )
98
98
$form_names[] = $wiki_page_value->getTitle()->getText();
99
99
}
100
- return $form_names;
100
+ return array_unique( $form_names );
101
101
}
102
102
103
103
/**
Status & tagging log
21:39, 20 November 2010
Bryan
(
talk
|
contribs
)
changed the
status
of r77044
[
removed:
new
added:
deferred]