CC-2647 : Check MD will fit db constraints in Airtime
This commit is contained in:
parent
375cfb2c2d
commit
a199585cb9
2 changed files with 55 additions and 2 deletions
|
@ -453,6 +453,8 @@ class ApiController extends Zend_Controller_Action
|
|||
|
||||
if ($mode == "create") {
|
||||
$filepath = $md['MDATA_KEY_FILEPATH'];
|
||||
$filepath = str_replace("\\", "", $filepath);
|
||||
|
||||
$file = StoredFile::RecallByFilepath($filepath);
|
||||
|
||||
if (is_null($file)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue