From 7d478a809c6f2901fbb15d4d71a3d16059b58b46 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 21 Sep 2017 15:35:13 +0100 Subject: [PATCH] this is PHP :( --- ext/home/main.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/home/main.php b/ext/home/main.php index ecffe8a9..960164d5 100644 --- a/ext/home/main.php +++ b/ext/home/main.php @@ -49,7 +49,8 @@ class Home extends Extension { global $config; $base_href = get_base_href(); $sitename = $config->get_string('title'); - $contact_link = contact_link() || ""; + $contact_link = contact_link(); + if(is_null($contact_link)) $contact_link = ""; $counter_dir = $config->get_string('home_counter', 'default'); $total = Image::count_images();