[geeklog-cvs] geeklog-1.3/public_html usersettings.php,1.106,1.107

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat Oct 9 16:44:43 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv17344

Modified Files:
	usersettings.php 
Log Message:
Fixed userphoto being lost on subsequent saves of the account information.


Index: usersettings.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/usersettings.php,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** usersettings.php	9 Oct 2004 20:18:34 -0000	1.106
--- usersettings.php	9 Oct 2004 20:44:41 -0000	1.107
***************
*** 762,765 ****
--- 762,767 ----
              exit; // don't return
          }
+     } else if (!$delete_photo && !empty ($curphoto)) {
+         $filename = $curphoto;
      }
  
***************
*** 906,910 ****
  
  /**
! * Saves user's perferences back to the database
  *
  * @A        array       User's data to save
--- 908,912 ----
  
  /**
! * Saves user's preferences back to the database
  *
  * @A        array       User's data to save




More information about the geeklog-cvs mailing list