Ignore:
Timestamp:
08/02/11 14:13:36 (14 years ago)
Author:
fpvanagthoven
Message:

Register correct stylesheet. SessionCreationTool? adjusted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/ApplicationMenu.php

    r60 r65  
    99
    1010    public function __construct() {
    11        
    1211        ?><fieldset class="menu"><?php
    1312        parent::__construct('Application');
     
    5049        <select id="applicationsToLoad" class="toLoad" size="1000">
    5150            <?php
    52             foreach ($applications as $application) {
    53                 ?><option value='<?php echo $application->id; ?>'><?php echo $application->name; ?></option><?php
     51            if (!empty($applications)) {
     52                foreach ($applications as $application) {
     53                    ?><option value='<?php echo $application->id; ?>'><?php echo $application->name; ?></option><?php
     54            }
    5455        }
    5556            ?>
    5657        </select>
    5758        <?php
    58 
    5959    }
    6060
Note: See TracChangeset for help on using the changeset viewer.