summaryrefslogtreecommitdiff
path: root/www/api/cemails.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/api/cemails.php')
-rw-r--r--www/api/cemails.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/api/cemails.php b/www/api/cemails.php
index 4eb7597..f937069 100644
--- a/www/api/cemails.php
+++ b/www/api/cemails.php
@@ -42,6 +42,7 @@
}
$query = "select * from `email` where `memid`='".intval($memid)."' and `hash`='' and `deleted`=0";
$res = mysql_query($query);
- while($row = mysql_fetch_assoc($res))
+ while($row = mysql_fetch_assoc($res)) {
echo "EMAIL=".sanitizeHTML($row['email'])."\n";
+ }
?>