aboutsummaryrefslogtreecommitdiff
path: root/p/ext.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-12-02 23:30:13 +0100
committerGravatar GitHub <noreply@github.com> 2021-12-02 23:30:13 +0100
commit00dbde68fbaf7da68ccf191c33f2de88d3603aa8 (patch)
tree26b182e58df9adc8ff0210bda5bb4b03d28571a1 /p/ext.php
parenta2ab9cf83aaead96497a70a1430ce0424c0d8316 (diff)
Fix some PHPstan errors (#4019)
Fix some wrong variables found by https://github.com/FreshRSS/FreshRSS/issues/4016
Diffstat (limited to 'p/ext.php')
-rw-r--r--p/ext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/p/ext.php b/p/ext.php
index c464f05ab..a19c9e90e 100644
--- a/p/ext.php
+++ b/p/ext.php
@@ -80,7 +80,7 @@ function is_valid_path_extension($path, $extensionPath, $isStatic = true) {
*/
function is_valid_path($path) {
return is_valid_path_extension($path, CORE_EXTENSIONS_PATH) || is_valid_path_extension($path, THIRDPARTY_EXTENSIONS_PATH)
- || is_valid_path_extension($path, USERS_PATH, $false);
+ || is_valid_path_extension($path, USERS_PATH, false);
}
function sendBadRequestResponse(string $message = null) {