lyceum-users AT lists.ibiblio.org
Subject: Lyceum-users mailing list
List archive
- From: John Joseph Bachir <jjb AT ibiblio.org>
- To: whatup <whatup.tw AT gmail.com>
- Cc: lyceum-users AT lists.ibiblio.org
- Subject: Re: [Lyceum-users] i found another bug .
- Date: Sun, 5 Mar 2006 23:46:22 -0500 (EST)
again, much thanks, can you make a ticket?
(btw, this kind of stuff is more appropriate for lyceum-dev)
http://lyceum.ibiblio.org/support
On Sun, 5 Mar 2006, whatup wrote:
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 mailing list
Lyceum-users AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/lyceum-users
--
http://lyceum.ibiblio.org
-
[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.