From 1be3ebb3f36dfc07385fe824a9b340bddcc6afda Mon Sep 17 00:00:00 2001
From: Franco Fichtner
Date: Fri, 18 Sep 2015 07:05:43 +0200
Subject: [PATCH] interfaces: fix crash report of gettext()
---
src/www/interfaces_gif.php | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/www/interfaces_gif.php b/src/www/interfaces_gif.php
index 6c056f2c8..5d628d1d4 100644
--- a/src/www/interfaces_gif.php
+++ b/src/www/interfaces_gif.php
@@ -1,4 +1,5 @@
=gettext("GIF tunnels are configured here."); ?>
- =sprintf(gettext(
+ =sprintf(
+ gettext(
'If you are using a GIF tunnel to connect to a Hurricane Electric (he.net) Tunnel Broker ' .
'on a WAN with a dynamic IP, you may want to add a %sHE.net Tunnelbroker dynamic DNS entry%s ' .
- 'to keep your tunnel functional when your IP changes.',
- '',
- ''
- ));
-?>
+ 'to keep your tunnel functional when your IP changes.'
+ ),
+ '',
+ ''
+); ?>