Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

309
 
310
 
310
 
boxes.php
_> 4343     function getGroup($group) {
  4444       $boxes = array();
  4545 
<> 46 -      foreach ($this->_boxes[$group] as $box) {
  47 -        if (file_exists('includes/boxes/' . $box)) {
  48 -          $box_class = 'osC_Boxes_' . substr($box, 0, strrpos($box, '.'));
   46+      if (isset($this->_boxes[$group])) {
   47+        foreach ($this->_boxes[$group] as $box) {
   48+          if (file_exists('includes/boxes/' . $box)) {
   49+            $box_class = 'osC_Boxes_' . substr($box, 0, strrpos($box, '.'));
4950 
<> 50 -          if (class_exists($box_class) === false) {
  51 -            include('includes/boxes/' . $box);
  52 -          }
   51+            if (class_exists($box_class) === false) {
   52+              include('includes/boxes/' . $box);
   53+            }
5354 
<> 54 -          $boxes[] = array('class' => $box, 'object' => $box_class);
   55+            $boxes[] = array('class' => $box, 'object' => $box_class);
   56+          }
<_ 5557         }
  5658       }
  5759