Update of /cvsroot/easymod/easymod2/mods/easymod/includes
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv31779/mods/easymod/includes
Modified Files:
admin_easymod.php.txt
Log Message:
Some bug fixes
Index: admin_easymod.php.txt
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** admin_easymod.php.txt 1 Oct 2006 22:19:05 -0000 1.49
--- admin_easymod.php.txt 9 Feb 2007 00:49:26 -0000 1.50
***************
*** 215,219 ****
// parse the MOD file and get properties about it (make sure it really is a MOD too)
! function get_mod_properties($file, &$mod_title, &$mod_author_handle, &$mod_author_email, &$mod_author_name, &$mod_author_url, &$mod_description, &$mod_version, &$compliant, &$modx_mod = false)
{
global $phpbb_root_path, $script_path, $mod_type;
--- 215,219 ----
// parse the MOD file and get properties about it (make sure it really is a MOD too)
! function get_mod_properties($file, &$mod_title, &$mod_author_handle, &$mod_author_email, &$mod_author_name, &$mod_author_url, &$mod_description, &$mod_version, &$compliant, &$modx_mod)
{
global $phpbb_root_path, $script_path, $mod_type;
***************
*** 224,227 ****
--- 224,231 ----
return get_modx_properties($file, $mod_title, $mod_author_handle, $mod_author_email, $mod_author_name, $mod_author_url, $mod_description, $mod_version, $compliant);
}
+ else
+ {
+ $modx_mod = false;
+ }
// used to add a little tolerance on the Author line
|