Fix ordering of tasks after page reload

This commit is contained in:
Raimund Schlüßler 2015-09-06 16:43:23 +02:00
parent 77b28d7d11
commit 69427c3589

View file

@ -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';
}