projects
/
hmb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a23c37
)
Fixed access rights bug in add page
author
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 18:45:24 +0000
(18:45 +0000)
committer
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 18:45:24 +0000
(18:45 +0000)
pages/add.php
patch
|
blob
|
history
diff --git
a/pages/add.php
b/pages/add.php
index b4a34c0869437d74d79c63bf365ef8cb1d5a9d3d..b5ff1eb20b2a1708a9fa38b5702444e8d537a055 100644
(file)
--- a/
pages/add.php
+++ b/
pages/add.php
@@
-44,7
+44,7
@@
class Page_Add extends Page {
if(!$this->error){
$current = Order::Unconfirmed_By_User($system->user());
$current->order($type, $this->name);
- $system->database->commit();
+ $system->database
()
->commit();
header('Location: ' . $system->url('index'));
}
}