Fix fatal error when $project is not set, which prevents access to Interface

This commit is contained in:
Stephen Brooks 2013-09-18 09:57:44 +01:00
parent 459269f61f
commit fd3097514b

View file

@ -1,5 +1,5 @@
<div id="title">
<h1>Project: <?php print $project->getTitle(); ?></h1>
<h1>Project: <?php print (is_object($project)) ? $project->getTitle() : ' - '; ?></h1>
</div>
<div class="row">