projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cc4c00
)
MTrackWeb/Wiki.php
author
Alan Knowles
<alan@akbkhome.com>
Sun, 7 Aug 2011 15:18:56 +0000
(23:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 7 Aug 2011 15:18:56 +0000
(23:18 +0800)
MTrackWeb/Wiki.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Wiki.php
b/MTrackWeb/Wiki.php
index
e0cb0d5
..
7a7a27e
100644
(file)
--- a/
MTrackWeb/Wiki.php
+++ b/
MTrackWeb/Wiki.php
@@
-72,6
+72,11
@@
class MTrackWeb_Wiki extends MTrackWeb
function post()
{
+ $au = $this->getAuthUser();
+ if (!$au) {
+ $this->jerr("permission denied");
+ }
+
$p = DB_DataObject::factory('mtrack_wiki');
$p->project_id = $this->currentProject();