projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def2054
)
MTrackWeb/File.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Mar 2011 08:44:20 +0000
(16:44 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 10 Mar 2011 08:44:20 +0000
(16:44 +0800)
MTrackWeb/File.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/File.php
b/MTrackWeb/File.php
index
9dd14be
..
1c77d4b
100644
(file)
--- a/
MTrackWeb/File.php
+++ b/
MTrackWeb/File.php
@@
-50,7
+50,7
@@
class MTrackWeb_File extends MTrackWeb
$this->repo = DB_DataObject::factory('repos');
$file = $this->repo->loadFromPath($this->pi);
- if (empty($file) || $this->repo->id) {
+ if (empty($file) || $this->repo->
repo
id) {
throw new Exception("invalid path " . htmlspecialchars($this->pi) );
}