]> 91.132.146.200 Git - insipid.git/commitdiff
missing amount value
authorBanana <banana@ironhide>
Sun, 29 Sep 2019 19:11:13 +0000 (21:11 +0200)
committerBanana <banana@ironhide>
Sun, 29 Sep 2019 19:11:13 +0000 (21:11 +0200)
webroot/lib/management.class.php

index 1de7a3a703f5cc6ce2486ab4159dc476aa76cfc9..82cba80437e2f22368d294a14864b3514c552d26 100644 (file)
@@ -91,7 +91,7 @@ class Management {
                                        $ret[$result['id']] = array('name' => $result['name'], 'amount' => $statsInfo[$result['id']]);
                                }
                                else {
-                                       $ret[$result['id']] = array('name' => $result['name']);
+                                       $ret[$result['id']] = array('name' => $result['name'], 'amount' => 0);
                                }
                        }
                }