[NOT BUG] mysql.php abnormality - Joomla! Forum - community, help and support


about line 466 insertobject

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