Skip to content

Commit

Permalink
Merge pull request #70 from EzioBallarin/develop-ezio
Browse files Browse the repository at this point in the history
date update percent fix
  • Loading branch information
eballarin committed Feb 7, 2015
2 parents b276c9d + 780fd39 commit fc28fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/tasks/task_shortcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,7 @@ function task_change_stage() {
}

$complete_stage = (($undo) ? $status - 1 : $status);
$update_percent = (($future_switches['calendar'] == 'on') ? $date_update_percent : ($future_switches['future'] == 'on' && ($complete_stage == 3 && $db_status < 4)) ? $future_update_percent : 1);
$update_percent = (($future_switches['calendar'] == 'on') ? $date_update_percent : (($future_switches['future'] == 'on' && ($complete_stage == 3 && $db_status < 4)) ? $future_update_percent : 1));

// if the button pressed IS the repeat button...
if ($repeat_button == 'on') {
Expand Down

0 comments on commit fc28fdf

Please sign in to comment.