+--------------------------------------------------------------------------------+ | MyBB 1.2.4 to 1.2.5 Patch File | | (c) 2007 MyBB Group. | | | | This patch file fixes a security vulnerability issue in MyBB 1.2.4 | | | | Please follow the instructions documented to manually patch your board | | to MyBB 1.2.5 | +--------------------------------------------------------------------------------+ ===================== 1. inc/class_core.php (Version number change) ===================== Find: -- /** * The friendly version number of MyBB we're running. * * @var string */ var $version = "1.2.4"; /** * The version code of MyBB we're running. * * @var integer */ var $version_code = 124; -- REPLACE it with: -- /** * The friendly version number of MyBB we're running. * * @var string */ var $version = "1.2.5"; /** * The version code of MyBB we're running. * * @var integer */ var $version_code = 125; -- ===================== 2. member.php ===================== Find: -- $memprofile['awayreason'] = htmlspecialchars_uni($memprofile['awayreason']); -- Replace it with: -- $awayreason = htmlspecialchars_uni($memprofile['awayreason']); -- ===================== DONE =====================