[geeklog-cvs] geeklog-1.3/public_html/admin link.php,1.31,1.32
dhaun at geeklog.net
dhaun at geeklog.net
Tue Mar 11 17:08:26 EST 2003
Update of /usr/cvs/geeklog/geeklog-1.3/public_html/admin
In directory internal.geeklog.net:/tmp/cvs-serv9907/public_html/admin
Modified Files:
link.php
Log Message:
Erm, I guess we really want to display a proper error message (instead of an SQL error) when you don't fill in all the fields for a link ...
Index: link.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/admin/link.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** link.php 2 Feb 2003 19:46:47 -0000 1.31
--- link.php 11 Mar 2003 22:08:24 -0000 1.32
***************
*** 6,17 ****
// +---------------------------------------------------------------------------+
// | link.php |
- // | Geeklog links administration page. |
// | |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2000,2001 by the following authors: |
// | |
! // | Authors: Tony Bibbs - tony at tonybibbs.com |
! // | Mark Limburg - mlimburg at users.sourceforge.net |
! // | Jason Wittenburg - jwhitten at securitygeeks.com |
// +---------------------------------------------------------------------------+
// | |
--- 6,18 ----
// +---------------------------------------------------------------------------+
// | link.php |
// | |
+ // | Geeklog links administration page. |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2000,2001 by the following authors: |
// | |
! // | Authors: Tony Bibbs - tony at tonybibbs.com |
! // | Mark Limburg - mlimburg at users.sourceforge.net |
! // | Jason Whittenburg - jwhitten at securitygeeks.com |
! // | Dirk Haun - dirk at haun-online.de |
// +---------------------------------------------------------------------------+
// | |
***************
*** 252,256 ****
$retval .= COM_siteHeader('menu');
$retval .= COM_errorLog($LANG23[10],2);
! editlink($mode,$lid);
$retval .= COM_siteFooter();
return $retval;
--- 253,261 ----
$retval .= COM_siteHeader('menu');
$retval .= COM_errorLog($LANG23[10],2);
! if (DB_count ($_TABLES['links'], 'lid', $lid) > 0) {
! $retval .= editlink ($mode, $lid);
! } else {
! $retval .= editlink ($mode, '');
! }
$retval .= COM_siteFooter();
return $retval;
More information about the geeklog-cvs
mailing list