Update web view
Database.php : * Change account order * Forgot $db variable in LoadCategory User.php : * Add default category for index 0 index.php : * Initialize $categories and $accounts arrays * Typo error for hidden accounts * Forgive credit on blocked account * Forgot to divide amounts by 100 * Forgot to initialize tr_class variable in some case
This commit is contained in:
		| @@ -27,14 +27,13 @@ class User | ||||
|  | ||||
|     function GetCategory($id) | ||||
|     { | ||||
|         if ($id == "") | ||||
|         if ($id == "" || $id == "0") | ||||
|         { | ||||
|             $cat["id"] = ""; | ||||
|             $cat["id"] = "0"; | ||||
|             $cat["forecolor"] = "black"; | ||||
|             $cat["backcolor"] = "#3DEB3D"; | ||||
|             $s = "background-color:" . $cat["backcolor"] . ";"; | ||||
|             $s .= "color:" . $cat["forecolor"] . ";"; | ||||
|             $cat["style"] = $s; | ||||
|             $cat["font"] = ""; | ||||
|             ExtractStyle($cat); | ||||
|  | ||||
|             return $cat; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user