Fix ordering of tasks after page reload
This commit is contained in:
parent
77b28d7d11
commit
69427c3589
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ Class TaskParser {
|
|||
*/
|
||||
private function parsePriority($priority) {
|
||||
if(isset($priority)){
|
||||
return (string) (10 - $priority->getValue()) % 10;
|
||||
return (string) ((10 - $priority->getValue()) % 10);
|
||||
} else {
|
||||
return '0';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue