diff options
| author | Greg Roach <fisharebest@gmail.com> | 2014-09-13 16:32:14 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2014-09-13 16:32:14 +0100 |
| commit | 85906c9302c0a6011a16dd72449d368922b52d23 (patch) | |
| tree | f995d2fb3e8a59c8f3344243631fb81d14e0e598 /calendar.php | |
| parent | 4aa1c6bcb1737e53713a48fc44d34e909405b55e (diff) | |
| download | webtrees-85906c9302c0a6011a16dd72449d368922b52d23.tar.gz webtrees-85906c9302c0a6011a16dd72449d368922b52d23.tar.bz2 webtrees-85906c9302c0a6011a16dd72449d368922b52d23.zip | |
Typo in class name
Diffstat (limited to 'calendar.php')
| -rw-r--r-- | calendar.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar.php b/calendar.php index a5b7f03368..dd93307f7f 100644 --- a/calendar.php +++ b/calendar.php @@ -23,13 +23,6 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -use Fisharebest\ExtCalendar\ArabicCalendar; -use Fisharebest\ExtCalendar\FrenchCalendar; -use Fisharebest\ExtCalendar\GregorianCalendar; -use Fisharebest\ExtCalendar\JewishCalendar; -use Fisharebest\ExtCalendar\JulianCalendar; -use Fisharebest\ExtCalendar\PersianCalendar; - define('WT_SCRIPT_NAME', 'calendar.php'); require './includes/session.php'; require_once WT_ROOT.'includes/functions/functions_print_lists.php'; @@ -64,7 +57,7 @@ if (preg_match('/^(\d\d)\d\d\/(\d\d)$/', $year, $match)) { $year=$match[1].$match[2]; } -// advance-year "year range" +// advanced-year "year range" if (preg_match('/^(\d+)-(\d+)$/', $year, $match)) { if (strlen($match[1]) > strlen($match[2])) { $match[2]=substr($match[1], 0, strlen($match[1])-strlen($match[2])).$match[2]; |
