From a5f8cde5462f23716c22b031e9a6a009d7f1756f Mon Sep 17 00:00:00 2001 From: fisharebest Date: Mon, 13 Sep 2010 21:48:35 +0000 Subject: [PATCH] #637595 - Snapshot 9444: Anniversary Calendar : Using $this when not in object context --- includes/classes/class_date.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/classes/class_date.php b/includes/classes/class_date.php index 5368d8c68dc..766f5780935 100644 --- a/includes/classes/class_date.php +++ b/includes/classes/class_date.php @@ -1142,7 +1142,7 @@ static function NUM_TO_MONTH_INSTRUMENTAL($n, $leap_year) { } static function NUM_TO_SHORT_MONTH($n, $leap_year) { // TODO: Do these have short names? - return $this->NUM_TO_MONTH_NOMINATIVE($n); + return self::NUM_TO_MONTH_NOMINATIVE($n, $leap_year); } static function NUM_TO_GEDCOM_MONTH($n, $leap_year) { switch ($n) {