CC-4348: Prepared statements - part 4
-StreamSetting.php
This commit is contained in:
parent
6955708723
commit
f036c84a64
2 changed files with 107 additions and 61 deletions
|
@ -16,9 +16,6 @@ class Application_Model_Preference
|
|||
$id = $auth->getIdentity()->id;
|
||||
}
|
||||
|
||||
$key = pg_escape_string($key);
|
||||
$value = pg_escape_string($value);
|
||||
|
||||
//Check if key already exists
|
||||
$sql = "SELECT COUNT(*) FROM cc_pref"
|
||||
." WHERE keystr = '$key'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue