Ignore:
Timestamp:
03/28/13 12:21:53 (11 years ago)
Author:
ramonb
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/image.php

    r718 r765  
    3535    session_start();
    3636
    37     if( isset( $_SESSION["data"] ) ) {
     37    if( isset( $_SESSION["data"] ) )
     38    {
    3839        $myxml_data    = &$_SESSION["data"];
    39     } else {
    40         $myxml_data    = 0;
     40    }
     41    else
     42    {
     43        $myxml_data    = null;
    4144    }
    4245
    43     if( !$myxml_data ) {
     46    if( $myxml_data == null )
     47    {
    4448        $ds             = new DataSource();
    4549        $myxml_data     = $ds->getData();
    46 
    4750    }
    4851    return $myxml_data;
Note: See TracChangeset for help on using the changeset viewer.