This commit has been accessed 716 times via Git panel.
commit 6fded58d201657e66d0ef6f08476d399c31478c1
tree f8a73531d0378af6bc155f7a9e9f81e89ca41cfe
parent 9c989ed34859dbe2b017162d87394b5c7be0bf1e
author Magie Antonio <magie@majcms.org> 1358795440 +0800
committer Magie Antonio <magie@majcms.org> 1358795440 +0800
Fix missing date in search results
diff --git a/dig.php b/dig.php
index e434485..0688263 100644
--- a/dig.php
+++ b/dig.php
@@ -264,7 +264,7 @@ if (($count_search_items > 0) and ($count_total_items > 0)) {
echo ">";
readfile("$maj_data_directory/items/$show_search_items[$increment_search_entries]/title.txt");
echo "</a><br>";
- readfile("$maj_data_directory/items/$show_search_items[$increment_search_entries]/date.txt");
+ entry2date($show_search_items[$increment_search_entries]);
echo "<br>";
$body = file_get_contents("$maj_data_directory/items/$show_search_items[$increment_search_entries]/body.txt");
tree f8a73531d0378af6bc155f7a9e9f81e89ca41cfe
parent 9c989ed34859dbe2b017162d87394b5c7be0bf1e
author Magie Antonio <magie@majcms.org> 1358795440 +0800
committer Magie Antonio <magie@majcms.org> 1358795440 +0800
Fix missing date in search results
diff --git a/dig.php b/dig.php
index e434485..0688263 100644
--- a/dig.php
+++ b/dig.php
@@ -264,7 +264,7 @@ if (($count_search_items > 0) and ($count_total_items > 0)) {
echo ">";
readfile("$maj_data_directory/items/$show_search_items[$increment_search_entries]/title.txt");
echo "</a><br>";
- readfile("$maj_data_directory/items/$show_search_items[$increment_search_entries]/date.txt");
+ entry2date($show_search_items[$increment_search_entries]);
echo "<br>";
$body = file_get_contents("$maj_data_directory/items/$show_search_items[$increment_search_entries]/body.txt");