projects
/
hmb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e65aa6
)
Correct invocation for current tickets
author
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 4 Feb 2011 23:31:03 +0000
(23:31 +0000)
committer
Richard Whitehouse
<github@richardwhiuk.com>
Fri, 4 Feb 2011 23:31:03 +0000
(23:31 +0000)
pages/index.php
patch
|
blob
|
history
diff --git
a/pages/index.php
b/pages/index.php
index 1025fa7f76e3db6d5b206e7e4142b0601f902fab..ddaa9be06f1cc4e94f1bcbd4abfd523a5d60144f 100644
(file)
--- a/
pages/index.php
+++ b/
pages/index.php
@@
-34,11
+34,10
@@
class Page_Index extends Page {
$current = Order::Get_Unconfirmed_By_User($system->user());
$template->new = array();
-
if($current != null){
- $purchases = Purchase::Get_By_Order($
o
);
-
+ $purchases = Purchase::Get_By_Order($
current
);
+
foreach($purchases as $p){
$template->new[$p->id()] = array(
'name' => $o->name(),