Ticket #5081: extensions.class.php.27.patch
| File extensions.class.php.27.patch, 0.8 kB (added by pwalker, 2 years ago) |
|---|
-
extensions.class.php
old new 197 197 } 198 198 $priority = ($new_priority === false) ? $count : $existing_priority; 199 199 } 200 else { 201 $priority -= 1; 202 } 200 203 $newcommand = array( 201 204 'basetag' => $this->_exts[$section][$extension][$priority]['basetag'], 202 205 'tag' => $this->_exts[$section][$extension][$priority]['tag'], … … 232 235 } 233 236 $priority = ($existing_priority === false) ? false : $existing_priority; 234 237 } 235 if($priority != false){ 238 else { 239 $priority -= 1; 240 } 241 if($priority !== false){ 236 242 unset($this->_exts[$section][$extension][$priority]); 237 243 $this->_exts[$section][$extension]=array_values($this->_exts[$section][$extension]); 238 244 }
