r85425 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85424‎ | r85425 | r85426 >
Date:07:38, 5 April 2011
Author:mkroetzsch
Status:deferred
Tags:
Comment:
typo
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_URI.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/dataitems/SMW_DI_URI.php
@@ -110,7 +110,7 @@
111111 $fragment = ( count( $parts ) == 2 ) ? $parts[1] : '';
112112 } else {
113113 $query = '';
114 - $parts = explode( '?', $rest, 2 ); // try to split "hier-part#frag"
 114+ $parts = explode( '?', $parts[0], 2 ); // try to split "hier-part#frag"
115115 $hierpart = $parts[0];
116116 $fragment = ( count( $parts ) == 2 ) ? $parts[1] : '';
117117 }

Status & tagging log