Ignore:
Timestamp:
2006/09/26 15:04:53 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/module/DB/common.php

    r4700 r5887  
    10011001        foreach ($data as $value) { 
    10021002            if ($this->prepare_types[$stmt][$i] == DB_PARAM_SCALAR) { 
    1003                 $realquery .= $this->quoteSmart($value); 
     1003                if ($value != "") { 
     1004                    $realquery .= $this->quoteSmart($value); 
     1005                }else{ 
     1006                    $realquery .= NULL; 
     1007                } 
     1008                print("DB_PARAM_SCALAR"); 
    10041009            } elseif ($this->prepare_types[$stmt][$i] == DB_PARAM_OPAQUE) { 
    10051010                $fp = @fopen($value, 'rb'); 
Note: See TracChangeset for help on using the changeset viewer.