[geeklog-cvs] geeklog: It wasn't possible to email a user via their profile pa...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Thu Nov 19 04:31:55 EST 2009
changeset 7478:3a69d326b1af
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/3a69d326b1af
user: Dirk Haun <dirk at haun-online.de>
date: Thu Nov 19 10:31:00 2009 +0100
description:
It wasn't possible to email a user via their profile page - checked the wrong field for '@' characters (cf. bug #0000992; reported by rayleigh)
diffstat:
public_html/docs/history | 2 ++
public_html/profiles.php | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r e6d6d39f0db7 -r 3a69d326b1af public_html/docs/history
--- a/public_html/docs/history Wed Nov 18 20:42:43 2009 +0100
+++ b/public_html/docs/history Thu Nov 19 10:31:00 2009 +0100
@@ -4,6 +4,8 @@
------------
Changes since 1.6.1rc1:
+- It wasn't possible to email a user via their profile page - checked the wrong
+ field for '@' characters (cf. bug #0000992; reported by rayleigh) [Dirk]
- Fixed use of wrong constant in unpacker.class.php [Blaine]
- Updated the age-old help texts and added help files for comment and user
submissions as well as the draft stories list [Dirk]
diff -r e6d6d39f0db7 -r 3a69d326b1af public_html/profiles.php
--- a/public_html/profiles.php Wed Nov 18 20:42:43 2009 +0100
+++ b/public_html/profiles.php Thu Nov 19 10:31:00 2009 +0100
@@ -81,7 +81,7 @@
}
if (!empty($author) && !empty($subject) && !empty($message)) {
- if (COM_isemail($authoremail) && (strpos($authoremail, '@') === false)) {
+ if (COM_isemail($authoremail) && (strpos($author, '@') === false)) {
$result = DB_query("SELECT username,fullname,email FROM {$_TABLES['users']} WHERE uid = $uid");
$A = DB_fetchArray($result);
More information about the geeklog-cvs
mailing list