Pages without title fixes

This commit is contained in:
dignajar 2015-06-30 20:08:33 -03:00
parent ab23bf28d6
commit 4260863b9b
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@
}
echo '<tr>';
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'[DRAFT] ').$Page->title().'</a></td>';
echo '<td>'.($Page->parentKey()?NO_PARENT_CHAR:'').'<a href="'.HTML_PATH_ADMIN_ROOT.'edit-page/'.$Page->key().'">'.($Page->published()?'':'[DRAFT] ').($Page->title()?$Page->title():'[Empty title] ').'</a></td>';
echo '<td>'.$parentTitle.'</td>';
echo '</tr>';
}