summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/aur.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 121c6921..e82f0ea0 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -132,7 +132,7 @@ function check_sid() {
# verify that an email address looks like it is legitimate
#
function valid_email($addy) {
- return eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$", $addy);
+ return strpos($addy, '@');
}
# a new seed value for mt_srand()