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:
Diffstat (limited to 'core/Theme.php')
-rw-r--r--core/Theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Theme.php b/core/Theme.php
index 9e1d694964..5b376f9032 100644
--- a/core/Theme.php
+++ b/core/Theme.php
@@ -133,7 +133,7 @@ class Theme
// Strip trailing query string
$fileToCheck = $overridingAsset;
$queryStringPos = strpos($fileToCheck, '?');
- if( $queryStringPos !== 0) {
+ if( $queryStringPos !== false) {
$fileToCheck = substr($fileToCheck, 0, $queryStringPos);
}