projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0180cd3
)
better checking on hash
author
Alan Knowles
<alan@roojs.com>
Fri, 24 Apr 2020 08:32:09 +0000
(16:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 24 Apr 2020 08:32:09 +0000
(16:32 +0800)
MTrackWeb/Browse.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Browse.php
b/MTrackWeb/Browse.php
index
fe85912
..
ac29c99
100644
(file)
--- a/
MTrackWeb/Browse.php
+++ b/
MTrackWeb/Browse.php
@@
-381,7
+381,7
@@
class MTrackWeb_Browse extends MTrackWeb
foreach($revs as $hash => $sobject) {
$event = $impl->commitLogToEvent($sobject);
// add something???
- if (isset($map[$hash])) {
+ if (isset($map[$hash])
&& is_object($map[$hash])
) {
$event->is_dir = $map[$hash]->is_dir;
$event->name = $map[$hash]->name;
$event->basename = $map[$hash]->basename;