com web/php: Add the date intot he return array too: include/layout.inc
| From: | Paul Dragoonis | Date: | Sat, 16 Apr 2011 14:57:41 +0000 |
| Subject: | com web/php: Add the date intot he return array too: include/layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-23558@lists.php.net to get a copy of this message | ||
Commit: 843046d27a62271234bab9cfb53d6790ba811f29
Author: Hannes Magnusson <bjori@php.net> Sat, 16 Apr 2011 14:57:41 +0000
Parents: 432d27b77c185c70b37262ba415cf5a45932e9f3
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=843046d27a62271234bab9cfb53d6790ba811f29
Log:
Add the date intot he return array too
Changed paths:
M include/layout.inc
Diff:
diff --git a/include/layout.inc b/include/layout.inc
index b8c2072..b16e21e 100644
--- a/include/layout.inc
+++ b/include/layout.inc
@@ -759,6 +759,7 @@ function print_news($news, $dog, $max = 5, $onlyyear = null, $return = false) {
"title" => $item["title"],
"id" => $id,
"permlink" => $permlink,
+ "date" => $newsdate,
);
continue;
}