CC-3826: Couldn't find constant MDATA_KEY_RECORD_DATE
-fixed in a better way
This commit is contained in:
parent
6695e3e190
commit
1245d1e860
2 changed files with 3 additions and 2 deletions
|
@ -92,7 +92,9 @@ class Application_Model_StoredFile {
|
|||
else {
|
||||
$dbMd = array();
|
||||
foreach ($p_md as $mdConst => $mdValue) {
|
||||
$dbMd[constant($mdConst)] = $mdValue;
|
||||
if (defined($mdConst)){
|
||||
$dbMd[constant($mdConst)] = $mdValue;
|
||||
}
|
||||
}
|
||||
$this->setDbColMetadata($dbMd);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue