summaryrefslogtreecommitdiff
path: root/password.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-15 18:05:08 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-01-15 18:05:08 +0000
commit24ab0f6487d7a3883af126cc22f5d9d08acf3a80 (patch)
tree33e842341ca277da4ba757cacf716c796d36c5c9 /password.php
parenteac302f2255460c6d7e35f1d29c26d488089d6ea (diff)
downloadsemanticscuttle-24ab0f6487d7a3883af126cc22f5d9d08acf3a80.tar.gz
semanticscuttle-24ab0f6487d7a3883af126cc22f5d9d08acf3a80.tar.bz2
Minor Refactoring: add getIdFromUser()
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@238 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'password.php')
-rw-r--r--password.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/password.php b/password.php
index 430a355..b173978 100644
--- a/password.php
+++ b/password.php
@@ -44,7 +44,7 @@ if (POST_SUBMITTED != '') {
// NO MATCH
$userinfo = $userservice->getObjectUserByUsername(POST_USERNAME);
- if ($userinfo == '') {
+ if ($userinfo == NULL) {
$tplVars['error'] = T_('No matches found for that username.');
} elseif (POST_EMAIL != $userinfo->getEmail()) {