CC-4415: Smart Block audio preview doesn't work
This commit is contained in:
parent
da107f5120
commit
3ced92db7a
3 changed files with 33 additions and 15 deletions
|
@ -93,10 +93,9 @@ class Application_Model_Preference
|
|||
}
|
||||
$result = $con->query($sql)->fetchColumn(0);
|
||||
//$result = Application_Common_Database::prepareAndExecute($sql, $paramMap, 'column');
|
||||
if ($result == 0)
|
||||
|
||||
if ($result == 0) {
|
||||
return "";
|
||||
else {
|
||||
} else {
|
||||
$sql = "SELECT valstr FROM cc_pref"
|
||||
." WHERE keystr = '$key'";
|
||||
/*." WHERE keystr = :key";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue