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 @@
9797 foreach ( $res as $wiki_page_value )
9898 $form_names[] = $wiki_page_value->getTitle()->getText();
9999 }
100 - return $form_names;
 100+ return array_unique( $form_names );
101101 }
102102
103103 /**

Status & tagging log