Show
Ignore:
Timestamp:
04/20/06 10:20:30 (6 years ago)
Author:
haas
Message:

DateHelper? docs and tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trax/vendor/trax/session.php

    r174 r198  
    297297    function isset_flash($key) { 
    298298        if(self::is_valid_host()) { 
    299             if($_SESSION[self::get_hash()]['flash'][$key]) { 
     299            if(array_key_exists(self::get_hash(), $_SESSION) 
     300               && array_key_exists('flash',$_SESSION[self::get_hash()]) 
     301               && array_key_exists($key, 
     302                                   $_SESSION[self::get_hash()]['flash'])) { 
    300303                return true;     
    301304            }