Changeset 2876

Show
Ignore:
Timestamp:
01/14/12 11:58:18 (4 months ago)
Author:
paparazzia
Message:

bug if pilototo order without @

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/phpcommon/users.class.php

    r2862 r2876  
    184184                    // FIXME sanity check 
    185185                    $query .= ", targetlat=$tlat, targetlong=$tlon "; 
    186                     if ( $values[1] >= 0 ) { 
     186                    if ( isset($values[1]) && $values[1] >= 0 ) { 
    187187                        $query .= ", targetandhdg=" . $values[1] ; 
    188188                        // Setup the userclass for immediate use