+--------------------------------------------------------------------------------+
| MyBB 1.2.5 to 1.2.6 Patch File                                                 |
| (c) 2007 MyBB Group.                                                           |
|                                                                                |
| This patch file fixes a security vulnerability issue in MyBB 1.2.5             |
|                                                                                |
| Please follow the instructions documented to manually patch your board         |
| to MyBB 1.2.6                                                                  |
+--------------------------------------------------------------------------------+

=====================
1. inc/class_core.php (Version number change)
=====================

Find:
--
	/**
	 * 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;

--

REPLACE it with:
--
	/**
	 * The friendly version number of MyBB we're running.
	 *
	 * @var string
	 */
	var $version = "1.2.6";
	
	/**
	 * The version code of MyBB we're running.
	 *
	 * @var integer
	 */
	var $version_code = 126;

--

=====================
2. calendar.php
=====================

Find the FIRST ONLY (around line 45):
--
	$eid = intval($mybb->input['eid']);
--

Replace it with:
--
	$eid = intval($mybb->input['eid']);
	$mybb->input['day'] = intval($mybb->input['day']);
--

=====================
DONE
=====================