Created
June 30, 2015 02:32
-
-
Save negatendo/39c9e706eaf90f88ac6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./action.php.old 2009-09-18 13:32:00.000000000 +0400 | |
+++ ./action.php 2013-05-30 12:29:47.000000000 +0400 | |
@@ -55,7 +55,7 @@ | |
$pos = $event->data->findElementByAttribute('type','submit'); | |
if(!$pos) return; // no button -> source view mode | |
#echo "DEBUG: <pre>".print_r($event->data,true).'</pre>'; | |
- if ( !empty($event->data->_hidden['prefix']) | |
+ if ( empty($event->data->_hidden['prefix']) | |
|| !empty($event->data->_hidden['suffix'])) return; | |
if ($event->data->findElementByType('wikitext')===false) return; | |
}elseif(!$event->data['writable']){ | |
@@ -72,7 +72,7 @@ | |
} | |
if ($this->getConf('tagsrc') == 'All tags' && $thlp) { | |
- $alltags=$this->_gettags($thlp); | |
+ $alltags=array_map('trim', idx_getIndex('subject', '_w')); | |
} else { | |
$alltags=$this->_getpages($tagns); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment