Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

602
 
603
 
603
 
image.php
_> 5353       return $this->_groups[$this->getID($code)]['size_height'];
  5454     }
  5555 
<> 56 -    function show(&$image, &$title, $parameters = '', $group = 'default') {
   56+    function exists($code) {
   57+      return isset($this->_groups[$this->getID($code)]);
   58+    }
   59+
   60+    function show(&$image, &$title, $parameters = '', $group = '') {
   61+      if (empty($group) || !$this->exists($group)) {
   62+        $group = $this->getCode(DEFAULT_IMAGE_GROUP_ID);
   63+      }
   64+
<_ 5765       $group_id = $this->getID($group);
  5866 
  5967       $width = $height = '';