Changeset 448 for trunk/Common/Database.php
- Timestamp:
- Oct 16, 2012, 9:49:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Database.php
r447 r448 90 90 if(!in_array($Value, $this->Functions)) 91 91 { 92 if( $Value == NULL) $Value = 'NULL';92 if(is_null($Value)) $Value = 'NULL'; 93 93 else $Value = $this->PDO->quote($Value); 94 94 } … … 108 108 if(!in_array($Value, $this->Functions)) 109 109 { 110 if( $Value == NULL) $Value = 'NULL';110 if(is_null($Value)) $Value = 'NULL'; 111 111 else $Value = $this->PDO->quote($Value); 112 112 } … … 125 125 if(!in_array($Value, $this->Functions)) 126 126 { 127 if( $Value == NULL) $Value = 'NULL';127 if(is_null($Value)) $Value = 'NULL'; 128 128 else $Value = $this->PDO->quote($Value); 129 129 }
Note:
See TracChangeset
for help on using the changeset viewer.