Skip to content

Commit

Permalink
#637595 - Snapshot 9444: Anniversary Calendar : Using $this when not …
Browse files Browse the repository at this point in the history
…in object context
  • Loading branch information
fisharebest committed Sep 13, 2010
1 parent 7b6df38 commit a5f8cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/classes/class_date.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a5f8cde

Please sign in to comment.