MediaWiki r5529 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r5528‎ | r5529 (on ViewVC)‎ | r5530 >
Date:09:51, 26 September 2004
Author:jeluf
Status:old
Tags:
Comment:
Avoid PHP warning about undefined constant
Modified paths:

Diff [purge]

Index: trunk/phase3/includes/SkinPHPTal.php
@@ -131,7 +131,7 @@
132132 * @access private
133133 */
134134 function &setupTemplate( $file, $repository=false, $cache_dir=false ) {
135 - if( NEW_PHPTAL ) {
 135+ if( defined( 'NEW_PHPTAL' ) && NEW_PHPTAL ) {
136136 return new PHPTAL_version_bridge( $file, $repository, $cache_dir );
137137 } else {
138138 return new PHPTAL( $file, $repository, $cache_dir );

Status & tagging log

  • 01:56, 13 October 2010 ^demon (Talk | contribs) changed the status of r5529 [removed: new added: old]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox