Ignore:
Timestamp:
Oct 16, 2012, 9:49:30 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: NULL hodnoty ve formulářích.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Database.php

    r447 r448  
    9090      if(!in_array($Value, $this->Functions))
    9191      {
    92         if($Value == NULL) $Value = 'NULL';
     92        if(is_null($Value)) $Value = 'NULL';
    9393        else $Value = $this->PDO->quote($Value);
    9494      }
     
    108108      if(!in_array($Value, $this->Functions))
    109109      {
    110         if($Value == NULL) $Value = 'NULL';
     110        if(is_null($Value)) $Value = 'NULL';
    111111        else $Value = $this->PDO->quote($Value);
    112112      }
     
    125125      if(!in_array($Value, $this->Functions))
    126126      {
    127         if($Value == NULL) $Value = 'NULL';
     127        if(is_null($Value)) $Value = 'NULL';
    128128        else $Value = $this->PDO->quote($Value);
    129129      }
Note: See TracChangeset for help on using the changeset viewer.