http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73456

Revision: 73456
Author:   jojo
Date:     2010-09-21 11:16:48 +0000 (Tue, 21 Sep 2010)

Log Message:
-----------
fixes, thanks to Nikerabbit

Modified Paths:
--------------
    trunk/extensions/Collection/Collection.body.php

Modified: trunk/extensions/Collection/Collection.body.php
===================================================================
--- trunk/extensions/Collection/Collection.body.php     2010-09-21 11:05:49 UTC 
(rev 73455)
+++ trunk/extensions/Collection/Collection.body.php     2010-09-21 11:16:48 UTC 
(rev 73456)
@@ -641,9 +641,9 @@
                        'currentVersion' => $currentVersion,
                );
 
-               if ($wgCollectionHierarchyDelimiter != null) {
+               if ( $wgCollectionHierarchyDelimiter != null ) {
                        $parts = explode( $wgCollectionHierarchyDelimiter, 
$prefixedText );
-                       if ( count( $parts > 1 ) && end( $parts ) != '' ) {
+                       if ( count( $parts ) > 1 && end( $parts ) != '' ) {
                                $item['displaytitle'] = end( $parts );
                        }
                }



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to