SAAS-922 - expose mime-based file extensions from /rest/media
This commit is contained in:
parent
0d27011e65
commit
92c9fd30b5
5 changed files with 51 additions and 68 deletions
|
@ -163,9 +163,9 @@ class Application_Model_Preference
|
|||
$sql .= " AND subjid = :id";
|
||||
$paramMap[':id'] = $userId;
|
||||
}
|
||||
|
||||
|
||||
$result = Application_Common_Database::prepareAndExecute($sql, $paramMap, Application_Common_Database::COLUMN);
|
||||
|
||||
|
||||
//return an empty string if the result doesn't exist.
|
||||
if ($result == 0) {
|
||||
$res = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue