about line 466 insertobject
few lines maybe should not are?
$values[] = $this->isquoted( $v ) && is_string($v) ? $this->quote( $v ) : $v;
check null because mysql_real_esape_string warns if to_be_escaped not string @ all.
few lines maybe should not are?
code: select all
$fields[] = $this->namequote( $k );;
$values[] = $this->isquoted( $k ) ? $this->quote( $v ) : $v;
$values[] = $this->isquoted( $v ) && is_string($v) ? $this->quote( $v ) : $v;
check null because mysql_real_esape_string warns if to_be_escaped not string @ all.
forget it, seems key used check if value quoted...
Comments
Post a Comment