From 63233fa55c67151c33b02136c28ed92be79973b4 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Tue, 21 Oct 2014 21:53:03 -0600 Subject: [PATCH] jsminplus: Fix string concatenation in error message PHP concatenates strings with the `.` operator, not with `+`. Change-Id: I628a55d714129a1345c37bfd31d8985bce177701 --- includes/libs/jsminplus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/libs/jsminplus.php b/includes/libs/jsminplus.php index ed0382cf53..99cf399bd9 100644 --- a/includes/libs/jsminplus.php +++ b/includes/libs/jsminplus.php @@ -1017,7 +1017,7 @@ class JSParser case KEYWORD_CATCH: case KEYWORD_FINALLY: - throw $this->t->newSyntaxError($tt + ' without preceding try'); + throw $this->t->newSyntaxError($tt . ' without preceding try'); case KEYWORD_THROW: $n = new JSNode($this->t); -- 2.20.1