Report, missing percentage symbol refs BT#7015

1.9.x
César Perales 11 years ago
parent 92a6e58481
commit 04fd91f4ce
  1. 3
      main/inc/lib/sessionmanager.lib.php

@ -579,10 +579,11 @@ class SessionManager
{
$data[$lesson['id']] = (!empty($user_lessons[$lesson['id']]['progress'])) ? $user_lessons[$lesson['id']]['progress'] : 0;
$progress += $data[$lesson['id']];
$data[$lesson['id']] = $data[$lesson['id']] . '%';
$count++;
}
$data['total'] = round($progress / $count, 2);
$data['total'] = round($progress / $count, 2) . '%';
$table[] = $data;
}

Loading…
Cancel
Save