Xaraya / Postnuke CVS Notices - Message

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 Notice

Directory filter : [ all ] / postnuke_official / html / includes [ view in CVS ]

Date Directory [filter] File(s) [view] Author [filter]
09 Aug 2002 13:16:20postnuke_official/html/includespnBlocks.php,1.52,1.53Paul Rosania
 pnBlockTypeExists() now returns ID of type in DB (n > 1, so n == true tests still work)

Update of /home/cvsroot/postnuke_official/html/includes
In directory ns7.hostnuke.net:/tmp/cvs-serv20614

Modified Files:
	pnBlocks.php 
Log Message:
pnBlockTypeExists() now returns ID of type in DB (n > 1, so n == true tests still work)


Index: pnBlocks.php
===================================================================
RCS file: /home/cvsroot/postnuke_official/html/includes/pnBlocks.php,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** pnBlocks.php	9 Aug 2002 03:27:40 -0000	1.52
--- pnBlocks.php	9 Aug 2002 13:16:18 -0000	1.53
***************
*** 536,540 ****
      // Got exactly 1 result, it exists
      if ($result->PO_RecordCount() == 1) {
!         return true;
      }
      
--- 536,541 ----
      // Got exactly 1 result, it exists
      if ($result->PO_RecordCount() == 1) {
!         list ($id) = $result->fields;
!         return $id;
      }
      


Directory filter : [ all ] / postnuke_official / html / includes [ view in CVS ]

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