Changeset 9931

Show
Ignore:
Timestamp:
11/14/08 15:48:40 (2 months ago)
Author:
afz
Message:

if gadget not have layout action

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.8/jaws/html/gadgets/Layout/AdminModel.php

    r9928 r9931  
    647647                } 
    648648            } 
    649             if (count($actions) > 0) { 
     649            if (isset($actions) && count($actions) > 0) { 
    650650                foreach ($actions as $actionName => $actionProperties) { 
    651651                    if ($actionProperties['mode'] == 'LayoutAction') {