[wp-cvs] wordpress/wp-admin admin-functions.php,1.79,1.80

Ryan Boren rboren at users.sourceforge.net
Mon Feb 7 02:07:00 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17038

Modified Files:
	admin-functions.php 
Log Message:
s///.  http://mosquito.wordpress.org/view.php?id=832

Index: admin-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/admin-functions.php,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** admin-functions.php	7 Feb 2005 01:15:05 -0000	1.79
--- admin-functions.php	7 Feb 2005 02:06:57 -0000	1.80
***************
*** 37,41 ****
  
          // First query the database
!         $cats_tmp = $wpdb->get_results("SELECT cat_id FROM $wpdb->categories WHERE category_parent = $parent ORDER BY $sort");
  
          // Now strip this down to a simple array of IDs
--- 37,41 ----
  
          // First query the database
!         $cats_tmp = $wpdb->get_results("SELECT cat_ID FROM $wpdb->categories WHERE category_parent = $parent ORDER BY $sort");
  
          // Now strip this down to a simple array of IDs
***************
*** 45,49 ****
                  foreach( $cats_tmp as $cat )
                  {
!                         $cats[] = $cat->cat_id;
                  }
          }
--- 45,49 ----
                  foreach( $cats_tmp as $cat )
                  {
!                         $cats[] = $cat->cat_ID;
                  }
          }



More information about the cvs mailing list