From f8b9f0759b76d1a8585be992f09532c1ad400314 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Fri, 3 Aug 2007 00:00:15 +0000 Subject: [PATCH] I guess it should actually return the result (anyway, there is a fatal PHP error when the folder was not writable without this fix, rather than a valid error shown to the user like now). --- includes/filerepo/FileRepoStatus.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/filerepo/FileRepoStatus.php b/includes/filerepo/FileRepoStatus.php index 9e8e079efc..972b2e466e 100644 --- a/includes/filerepo/FileRepoStatus.php +++ b/includes/filerepo/FileRepoStatus.php @@ -22,6 +22,7 @@ class FileRepoStatus { $result = new self( $repo ); call_user_func_array( array( &$result, 'error' ), $params ); $result->ok = false; + return $result; } static function newGood( $repo = false, $value = null ) { -- 2.20.1