projects
/
hmb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46e81d3
)
Commit MySQL changes
author
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 18:44:46 +0000
(18:44 +0000)
committer
Richard Whitehouse
<richardwhiuk@richardwhiuk.com>
Fri, 4 Feb 2011 18:44:46 +0000
(18:44 +0000)
pages/add.php
patch
|
blob
|
history
diff --git
a/pages/add.php
b/pages/add.php
index 467f446a55bb04ef76f028023fdffddb741e773a..b4a34c0869437d74d79c63bf365ef8cb1d5a9d3d 100644
(file)
--- a/
pages/add.php
+++ b/
pages/add.php
@@
-44,8
+44,8
@@
class Page_Add extends Page {
if(!$this->error){
$current = Order::Unconfirmed_By_User($system->user());
$current->order($type, $this->name);
-
var_dump($this
);
-
exit
;
+
$system->database->commit(
);
+
header('Location: ' . $system->url('index'))
;
}
}