diff options
| author | 2017-03-11 10:36:48 +0100 | |
|---|---|---|
| committer | 2017-03-11 10:36:48 +0100 | |
| commit | be0bcfef7e38f27284ec7b377b342ba389515964 (patch) | |
| tree | 59d2d5a8e34fcb279a53a2b44fde1e36c888672d /app/Models/Feed.php | |
| parent | 5f637bd816b7323885bfe1751a1724ee59a822f6 (diff) | |
| parent | b34c318f02574b13560731035fd5a4f750aa1e9b (diff) | |
Merge pull request #1455 from FreshRSS/dev1.6.3
Release 1.6.3
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 97cb1c47e..7a9cf8612 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -442,7 +442,7 @@ class FreshRSS_Feed extends Minz_Model { file_put_contents(USERS_PATH . '/_/log_pshb.txt', date('c') . "\t" . $text . "\n", FILE_APPEND); } $currentUser = Minz_Session::param('currentUser'); - if (ctype_alnum($currentUser) && !file_exists($path . '/' . $currentUser . '.txt')) { + if (FreshRSS_user_Controller::checkUsername($currentUser) && !file_exists($path . '/' . $currentUser . '.txt')) { touch($path . '/' . $currentUser . '.txt'); } } |
