removed PHP notices
This commit is contained in:
parent
e51c4bba00
commit
af38b4989b
|
@ -120,7 +120,7 @@ function savePDFStructureDefinitions($scope,$definition) {
|
||||||
$ident .= "\t";
|
$ident .= "\t";
|
||||||
}
|
}
|
||||||
$attributes = '';
|
$attributes = '';
|
||||||
if(is_array($entry['attributes'])) {
|
if(isset($entry['attributes']) && is_array($entry['attributes'])) {
|
||||||
foreach($entry['attributes'] as $key => $value) {
|
foreach($entry['attributes'] as $key => $value) {
|
||||||
$attributes .= ' ' . strtolower($key) . '="' . $value . '"';
|
$attributes .= ' ' . strtolower($key) . '="' . $value . '"';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue