Sublime directory Surf the web anonymous Pagerank Monitor


address field in update_user_profile.php

keatoh
Mon 19 March 2007, 02:35 pm GMT +0200
Greetings:

I noticed the address field in update_user_profile.php page is not populated after I updated/entered my address. Anyone has the same problem?

Note: I am using the 1.96 version.

Thanks

olaf
Tue 20 March 2007, 12:19 am GMT +0200
check this row, there is a type (single =)

if ($_POST['user_email'] == "" || $_POST['address'] == "" || $_POST['postcode'] == "" || $_POST['city'] == "") {

keatoh
Tue 20 March 2007, 03:19 am GMT +0200
I changed from:
if ($_POST['user_email'] == "" || $_POST['address'] = "" || $_POST['postcode'] == "" || $_POST['city'] == "") {
to
if ($_POST['user_email'] == "" || $_POST['address'] == "" || $_POST['postcode'] == "" || $_POST['city'] == "") {

And it works great now.

Thanks

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional