From aafd95fc673f850503fdbe342ce17cdbd24d5c49 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 5 Feb 2019 15:07:31 +0100 Subject: return $label instead of true if label exists --- auto_prepend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_prepend.php') diff --git a/auto_prepend.php b/auto_prepend.php index 4115f83..0aa70ef 100644 --- a/auto_prepend.php +++ b/auto_prepend.php @@ -142,7 +142,7 @@ function T_languages() /** * Check if a text entry for a specific label exists * @param $label Label to check - * @return true if text exists in actual (or supplied) language, false otherwise. + * @return label name if text exists in current (or supplied) language, false otherwise. */ function T_exists($label, $language = null) { -- cgit v1.2.3