diff options
Diffstat (limited to 'watchlist.php')
-rw-r--r-- | watchlist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/watchlist.php b/watchlist.php index d824937..2cdb5ff 100644 --- a/watchlist.php +++ b/watchlist.php @@ -56,7 +56,7 @@ if ($user) { $userid = intval($user); } else { $userinfo = $userservice->getObjectUserByUsername($user); - if ($userinfo == '' ) { + if ($userinfo == NULL ) { // Throw a 404 error $tplVars['error'] = sprintf(T_('User with username %s was not found'), $user); $templateservice->loadTemplate('error.404.tpl', $tplVars); |