[Phpslash-commit] CVS: phpslash-ft/public_html/admin blockAdmin.php3,1.15,1.16
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2003-02-03 18:03:01
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/admin In directory sc8-pr-cvs1:/tmp/cvs-serv19171/phpslash-ft/public_html/admin Modified Files: blockAdmin.php3 Log Message: comment preview bug and blockAdmin array warning Index: blockAdmin.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/admin/blockAdmin.php3,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** blockAdmin.php3 22 Jan 2003 17:28:42 -0000 1.15 --- blockAdmin.php3 3 Feb 2003 18:02:57 -0000 1.16 *************** *** 75,80 **** // expire cache for these section_id's $section_id_ary = $HTTP_POST_VARS['section_id_ary']; ! foreach($section_id_ary as $key => $value) { ! jpcache_gc('string', "-section_id-" . $value, "100"); } --- 75,82 ---- // expire cache for these section_id's $section_id_ary = $HTTP_POST_VARS['section_id_ary']; ! if(is_array($section_id_ary)) { ! foreach($section_id_ary as $key => $value) { ! jpcache_gc('string', "-section_id-" . $value, "100"); ! } } |