[geeklog-cvs] Geeklog-1.x/plugins/links functions.inc,1.90,1.91

Dirk Haun dhaun at qs1489.pair.com
Sat Dec 29 11:05:38 EST 2007


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/links
In directory qs1489.pair.com:/tmp/cvs-serv43090/plugins/links

Modified Files:
	functions.inc 
Log Message:
Fixed parameter (extra '&')


Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/links/functions.inc,v
retrieving revision 1.90
retrieving revision 1.91
diff -C2 -d -r1.90 -r1.91
*** functions.inc	28 Dec 2007 15:41:26 -0000	1.90
--- functions.inc	29 Dec 2007 16:05:36 -0000	1.91
***************
*** 1434,1438 ****
              ORDER BY category";
      $query = DB_QUERY($sql);
!     while ( list($cid,$category) = DB_fetchARRAY($query) ) {
          // set selected item
          if ($cid==$sel) {
--- 1434,1438 ----
              ORDER BY category";
      $query = DB_QUERY($sql);
!     while ( list($cid,$category) = DB_fetchArray($query) ) {
          // set selected item
          if ($cid==$sel) {
***************
*** 1444,1450 ****
          }
          // Check and see if this category has any sub categories
!         if (DB_COUNT($_TABLES['linkcategories'], 'pid', $cid) > 0) {
              // yes, call self
!             $dum = links_select_box_recursive (&$menu,$cid,$sel,$indent.'  ',$access);
          }
     }
--- 1444,1450 ----
          }
          // Check and see if this category has any sub categories
!         if (DB_count($_TABLES['linkcategories'], 'pid', $cid) > 0) {
              // yes, call self
!             $dum = links_select_box_recursive ($menu,$cid,$sel,$indent.'  ',$access);
          }
     }




More information about the geeklog-cvs mailing list