fixed PDF problem with empty app data

This commit is contained in:
Roland Gruber 2012-02-16 18:20:41 +00:00
parent f790865b20
commit 0a70f0e584
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ class asteriskExtensionNewUI extends baseModule {
'<td width="20%"><b>' . _('Priority') . '</b></td>' . '<td width="20%"><b>' . _('Priority') . '</b></td>' .
'</tr></block>'; '</tr></block>';
for ($i = 0; $i < sizeof($entries); $i++) { for ($i = 0; $i < sizeof($entries); $i++) {
$appdata = ''; $appdata = ' ';
if (isset($entries[$i]['astapplicationdata'][0])) { if (isset($entries[$i]['astapplicationdata'][0])) {
$appdata = $entries[$i]['astapplicationdata'][0]; $appdata = $entries[$i]['astapplicationdata'][0];
} }