r43087 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43086‎ | r43087 | r43088 >
Date:18:18, 2 November 2008
Author:aaron
Status:old
Tags:
Comment:
Fix 'Undefined variable: encPath'
Modified paths:
  • /trunk/extensions/CodeReview/CodeRevisionView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeRevisionView.php
@@ -158,7 +158,7 @@
159159 "$viewvc$safePath?view=markup&pathrev=$rev",
160160 $path );
161161 } else {
162 - $link = $encPath;
 162+ $link = $safePath;
163163 }
164164 if( $action !== 'A' && $action !== 'D' ) {
165165 $diff = ' (' .
@@ -168,7 +168,7 @@
169169 ')';
170170 }
171171 } else {
172 - $link = $encPath;
 172+ $link = $safePath;
173173 }
174174 return "<li>$link ($desc)$diff</li>\n";
175175 }

Status & tagging log