summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-04-26 20:13:40 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2011-04-26 20:13:40 +0200
commit48e73bc0cbc942cc891ec803f6c012b355d8b7f7 (patch)
treee94e0f8b2e3dcf28a4887f69437dd1ac8b9aa9d6
parent9d7de266c1a7fd7c700b60547ce7e230b2d04ffd (diff)
downloadalpine_drupal_theme-48e73bc0cbc942cc891ec803f6c012b355d8b7f7.tar.bz2
alpine_drupal_theme-48e73bc0cbc942cc891ec803f6c012b355d8b7f7.tar.xz
need to use isset
-rw-r--r--templates/node--apk.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/node--apk.tpl.php b/templates/node--apk.tpl.php
index 8d03cec..122c17c 100644
--- a/templates/node--apk.tpl.php
+++ b/templates/node--apk.tpl.php
@@ -34,7 +34,7 @@
</tr>
<tr class="odd">
<th>Commit</th>
- <td><?php print ($commit_url) ? $commit_url : '<p>None</p>'; ?></td>
+ <td><?php print (isset($commit_url)) ? $commit_url : '<p>None</p>'; ?></td>
</tr>
<tr class="even">
<th>Dependencies</th>