Fix database bug that broke saving in admin
This commit is contained in:
parent
3215e6e7e1
commit
786ab7ec7d
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ class Katharsis_Db5
|
||||||
{
|
{
|
||||||
if(is_string($value))
|
if(is_string($value))
|
||||||
{
|
{
|
||||||
$value = "'" . mysqli_real_escape_string($value, $this->_connection) . "'";
|
$value = "'" . mysqli_real_escape_string($this->_connection, $value) . "'";
|
||||||
}
|
}
|
||||||
if($value === null)
|
if($value === null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue