Update of /cvsroot/easymod/easymod2/mods/easymod/includes
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv7111
Modified Files:
admin_easymod.php.txt
Log Message:
- fixed bug 1843472 - INCREMENTs don't work on multi-line FINDs
Index: admin_easymod.php.txt
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** admin_easymod.php.txt 10 Feb 2008 23:45:23 -0000 1.55
--- admin_easymod.php.txt 16 Feb 2008 15:12:42 -0000 1.56
***************
*** 2542,2546 ****
for ( $file_count = 0; $file_count < count($file_list); $file_count++ )
{
! for ( $j = 0; $j < count($find_array); $j++ )
{
$increment_search = ($search_fragment != '') ? $search_fragment : $search_array[$j];
--- 2542,2546 ----
for ( $file_count = 0; $file_count < count($file_list); $file_count++ )
{
! for ( $j = 0; $j < count($find_array[$file_count]); $j++ )
{
$increment_search = ($search_fragment != '') ? $search_fragment : $search_array[$j];
***************
*** 2552,2556 ****
}
}
! if ($j == count($find_array))
{
// halt if this is an english lang file
--- 2552,2556 ----
}
}
! if ($j == count($find_array[$find_array]))
{
// halt if this is an english lang file
|