From e7dd30113bb513e240a9a79f0bb6ecc207d0ad3d Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 29 Apr 2016 15:32:55 -0600 Subject: [PATCH] Define the text array before it is used. --- resources/classes/text.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/classes/text.php b/resources/classes/text.php index a2f7e0a653..e468a7fc6e 100644 --- a/resources/classes/text.php +++ b/resources/classes/text.php @@ -29,6 +29,10 @@ class text { * @var string $app_path examples: app/exec or core/domains */ public function get($language_code = null, $app_path = null, $exclude_global = false) { + + //define the text array + $text = array(); + //get the global app_languages.php if (!$exclude_global){ include $_SERVER["PROJECT_ROOT"]."/resources/app_languages.php";