From 38d7d4235092acc12bff4d1d8e36c328e2961a37 Mon Sep 17 00:00:00 2001
From: David Flatz
Date: Thu, 24 Nov 2016 15:14:39 +0100
Subject: fix link to label editor
---
it_text.class | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'it_text.class')
diff --git a/it_text.class b/it_text.class
index 830dfe2..29bc2d1 100644
--- a/it_text.class
+++ b/it_text.class
@@ -144,7 +144,7 @@ function text($label, $language = null)
$text = $this->statictext[$label][$this->p['fallbacklanguage']];
if (!isset($text))
{
- $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")") . "'>" . Q($label) . ".";
+ $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")") . "'>" . Q($label) . ".";
it::error(array('title'=>"unknown label $label language $language - see /tmp/alertdata/alert.log", 'backtraceskip'=>2, 'blockmail'=>21600));
}
}
@@ -155,7 +155,7 @@ function text($label, $language = null)
if ($service = $this->label_to_service[$label])
$host = preg_replace('#//(admin\.)?[^.]*\.#', "//$service.", $host);
- $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . ".";
+ $text = "1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . ".";
}
if (isset($GLOBALS['it_text_sampling']))
--
cgit v1.2.3