[geeklog-cvs] geeklog-1.3/public_html/admin mail.php,1.23,1.24

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Thu Oct 7 04:27:29 EDT 2004


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

Modified Files:
	mail.php 
Log Message:
Use empty() to check for the user's full name, not isset().


Index: mail.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/admin/mail.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** mail.php	9 Aug 2004 07:56:22 -0000	1.23
--- mail.php	7 Oct 2004 08:27:27 -0000	1.24
***************
*** 171,175 ****
          $A = DB_fetchArray ($result);
          $to = '';
!         if (!isset ($A['fullname'])) {
              $to .= $A['username'];
          } else {
--- 171,175 ----
          $A = DB_fetchArray ($result);
          $to = '';
!         if (empty ($A['fullname'])) {
              $to .= $A['username'];
          } else {




More information about the geeklog-cvs mailing list