Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <diosmosis@users.noreply.github.com>2019-01-22 07:23:56 +0300
committerGitHub <noreply@github.com>2019-01-22 07:23:56 +0300
commitf845d5290931829dab8d038ae10991692a387c48 (patch)
treef27dd2e26f915b35dfe98ea018bcfd373048e9bb /core/Segment
parent2d6c8e597d110e2664a866cf667c2ea6e2cc2909 (diff)
Add UI test for complex segment + fix couple bugs to get test to pass. (#13909)
* Add UI test for complex segment + fix couple bugs to get test to pass. * fix test
Diffstat (limited to 'core/Segment')
-rw-r--r--core/Segment/SegmentExpression.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Segment/SegmentExpression.php b/core/Segment/SegmentExpression.php
index a477187fd6..997d7e7b5f 100644
--- a/core/Segment/SegmentExpression.php
+++ b/core/Segment/SegmentExpression.php
@@ -104,7 +104,7 @@ class SegmentExpression
. '){1}(.*)/';
$match = preg_match($pattern, $operand, $matches);
if ($match == 0) {
- throw new Exception('The segment \'' . $operand . '\' is not valid.');
+ throw new Exception('The segment condition \'' . $operand . '\' is not valid.');
}
$leftMember = $matches[1];