From: Dylan Lloyd Date: Thu, 2 Jan 2014 22:28:36 +0000 (+0000) Subject: update page model to use entry datetime X-Git-Url: https://disinclined.org/git/?a=commitdiff_plain;h=740b99a97afcd25d2751a81ca04819aafd87efc5;p=dylansserver.git update page model to use entry datetime --- diff --git a/model/page.php b/model/page.php index b4c5577..220c604 100644 --- a/model/page.php +++ b/model/page.php @@ -50,7 +50,7 @@ class page extends model { $entry['year_posted'] = $date_posted[0]; $entry['month_posted'] = $date_posted[1]; $entry['datetime_posted'] = explode(' ', $date_posted[2]); - $entry['day_posted'] = $entry['date_posted'][0]; + $entry['day_posted'] = $entry['datetime_posted'][0]; $this->notes[$row] = $entry; } }