Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
821484d81a
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