https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40b819f
)
Adding some debug stuff to figure out why PHP5 is weird
author
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 19:15:02 +0000
(19:15 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 19:15:02 +0000
(19:15 +0000)
includes/cachev.php
patch
|
blob
|
history
diff --git
a/includes/cachev.php
b/includes/cachev.php
index 5f52dd3f1ee5cef57d90c86dcdc560f1287835ae..97a6b3910d34aec1d87a01eec01f7e64359a626f 100644
(file)
--- a/
includes/cachev.php
+++ b/
includes/cachev.php
@@
-324,9
+324,16
@@
class cacheV
$latestrev = -1;
foreach ($history['log']['logentry'] AS $log)
{
+ // WHY THE HELL DOES THIS GET HIT ON REBUILDS?
+ if (!is_array($log))
+ {
+ print_r($node);
+ var_dump($log);
+ continue;
+ }
$loglist["$log[revision]"] = array(
'revision' => $log['revision'],
- 'author' => $log['author']['value'],
+ 'author' => $log['author']['value'],
// why does PHP5 hate this?
'date' => $log['date']['value'],
'message' => $log['msg']['value']
);