lyceum-users AT lists.ibiblio.org
Subject: Lyceum-users mailing list
List archive
- From: whatup <whatup.tw AT gmail.com>
- To: lyceum-users AT lists.ibiblio.org
- Subject: [Lyceum-users] i found another bug .
- Date: Sun, 5 Mar 2006 23:02:11 +0800
Find another bug. that is patch.It just typo.And } in wrong place.
Index: template-functions-general.php
===================================================================
--- template-functions-general.php (revision 546)
+++ template-functions-general.php (working copy)
@@ -375,9 +375,10 @@
echo
get_archives_link($url, $text, $format, $before, $after);
}
}
- } elseif ('postbypost' == $type) {
-// $arcresults =
$wpdb->get_results("SELECT * FROM $wpdb->posts blog = '$blog' AND
WHERE post_d
ate < '$now' AND post_status = 'publish' ORDER BY post_date DESC" . $limit);
- $arcresults =
$wbdb->get_post_results("*", "post_date < '$now' AND post_status =
'publish' O
RDER BY post_date DESC");
+ }
+ } elseif ('postbypost' == $type) {
+// $arcresults =
$wpdb->get_results("SELECT * FROM $wpdb->posts WHERE blog = '$blog'
AND post_d
ate < '$now' AND post_status = 'publish' ORDER BY post_date DESC" . $limit);
+ $arcresults =
$wpdb->get_post_results("*", "post_date < '$now' AND post_status =
'publish' O
RDER BY post_date DESC");
if ($arcresults) {
foreach ($arcresults
as $arcresult) {
if
($arcresult->post_date != '0000-00-00 00:00:00') {
@@ -393,7 +394,7 @@
}
}
}
-}}
+}
-
[Lyceum-users] i found another bug .,
whatup, 03/05/2006
- Re: [Lyceum-users] i found another bug ., John Joseph Bachir, 03/05/2006
Archive powered by MHonArc 2.6.24.