[Easymod-cvs] easymod2/mods/easymod/includes admin_easymod.php.txt,1.1,1.2
Status: Beta
Brought to you by:
wgeric
From: Eric F. <wg...@us...> - 2005-04-29 00:50:39
|
Update of /cvsroot/easymod/easymod2/mods/easymod/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17618/mods/easymod/includes Modified Files: admin_easymod.php.txt Log Message: - Fixed $ftp_cache not in function test_ftp when in debug mode - Rasied the character limit for MOD titles to 255 - Fixed the bbcode output, missing a couple of [/color]s Index: admin_easymod.php.txt =================================================================== RCS file: /cvsroot/easymod/easymod2/mods/easymod/includes/admin_easymod.php.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_easymod.php.txt 24 Apr 2005 14:59:53 -0000 1.1 --- admin_easymod.php.txt 29 Apr 2005 00:50:26 -0000 1.2 *************** *** 176,180 **** $sql = "SELECT * FROM " . EASYMOD_TABLE . " ! WHERE mod_title = '" . substr( $mod_title, 0, 100) . "' AND mod_version = '" . substr( $mod_version, 0, 15) . "' ORDER BY mod_id DESC" ; --- 176,180 ---- $sql = "SELECT * FROM " . EASYMOD_TABLE . " ! WHERE mod_title = '" . substr( $mod_title, 0, 255) . "' AND mod_version = '" . substr( $mod_version, 0, 15) . "' ORDER BY mod_id DESC" ; *************** *** 2868,2872 **** $phpbb_version = get_phpbb_version() ; ! $mod_title = str_replace("'", "''", substr( $mod_title, 0, 50)) ; $mod_author_handle = str_replace("'", "''", substr( $mod_author_handle, 0, 25)) ; $mod_author_email = str_replace("'", "''", substr( $mod_author_email, 0, 100)) ; --- 2868,2872 ---- $phpbb_version = get_phpbb_version() ; ! $mod_title = str_replace("'", "''", substr( $mod_title, 0, 255)) ; $mod_author_handle = str_replace("'", "''", substr( $mod_author_handle, 0, 25)) ; $mod_author_email = str_replace("'", "''", substr( $mod_author_email, 0, 100)) ; |