Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_official / html / modules / comments / backend [ view in CVS ]
| Date | Directory [filter] | File(s) [view] | Author [filter] |
| 26 Jul 2002 03:00:52 | postnuke_official/html/modules/comments/backend | backend.php,1.8,1.9 | Carl P. Corliss |
| various bugfixes | |||
Update of /home/cvsroot/postnuke_official/html/modules/comments/backend
In directory ns7.hostnuke.net:/tmp/cvs-serv8474/html/modules/Comments/backend
Modified Files:
backend.php
Log Message:
various bugfixes
Index: backend.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/modules/comments/backend/backend.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** backend.php 1 Jul 2002 04:10:48 -0000 1.8
--- backend.php 26 Jul 2002 03:00:49 -0000 1.9
***************
*** 41,45 ****
extract($args);
! if (!isset($modid) || (!isset($itemid) || empty($itemid)) !isset($author) ||
!isset($title) || !isset($comment) || !isset($hostname) ) {
$msg = pnML('Missing required arguments to function pncomments_add()');
--- 41,45 ----
extract($args);
! if (!isset($modid) || (!isset($itemid) || empty($itemid)) || !isset($author) ||
!isset($title) || !isset($comment) || !isset($hostname) ) {
$msg = pnML('Missing required arguments to function pncomments_add()');
***************
*** 134,138 ****
extract($args);
! if (!isset($cid))) {
$msg = pnML('ERROR: Missing required argument: \'cid\' in function pncomments_delete()');
pnExceptionSet(PN_SYSTEM_EXCEPTION, 'DATABASE',
--- 134,138 ----
extract($args);
! if (!isset($cid)) {
$msg = pnML('ERROR: Missing required argument: \'cid\' in function pncomments_delete()');
pnExceptionSet(PN_SYSTEM_EXCEPTION, 'DATABASE',
***************
*** 354,358 ****
$sql = "SELECT $column[itemid] AS Hook, COUNT($column[cid]) AS TotalComments
FROM $pntable[comments]
! WHERE $column[modid]='$modid' AND $column[itemid]='$itemid'"
$result = $dbconn->Execute($sql);
--- 354,358 ----
$sql = "SELECT $column[itemid] AS Hook, COUNT($column[cid]) AS TotalComments
FROM $pntable[comments]
! WHERE $column[modid]='$modid' AND $column[itemid]='$itemid'";
$result = $dbconn->Execute($sql);
***************
*** 371,375 ****
$sql = "SELECT $column[modid] AS Module, COUNT($column[cid]) AS TotalComments
FROM $pntable[comments]
! WHERE $column[modid]='$modid'"
$result = $dbconn->Execute($sql);
--- 371,375 ----
$sql = "SELECT $column[modid] AS Module, COUNT($column[cid]) AS TotalComments
FROM $pntable[comments]
! WHERE $column[modid]='$modid'";
$result = $dbconn->Execute($sql);
***************
*** 475,479 ****
}
!
// include common functions
include_once('modules/comments/common/CommonFunctions.php');
--- 475,481 ----
}
! $file = __FILE__;
! $line = __LINE__;
!
// include common functions
include_once('modules/comments/common/CommonFunctions.php');
View Statistics - Next Notice - Previous Notice
| Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |