Merge branch 'reports-check2' into 'develop'

Remove unnecessary condition

See merge request !195
parents 00654781 6c1052ea
......@@ -368,8 +368,7 @@ class ReportsCreator extends ControllerBase
->select('epal_student_class', 'eStudent')
->fields('eStudent', array('id', 'epal_id', 'currentclass'))
->condition('eStudent.epal_id', $epalSchool->id, '=')
->condition('eStudent.currentclass', $classId, '=')
->condition('eStudent.finalized', 1, '=');
->condition('eStudent.currentclass', $classId, '=');
array_push( $num, $sCon->countQuery()->execute()->fetchField());
//βρες ποσοστά συμπλήρωσης
if (isset($capacity[$classId-1]) && $capacity[$classId-1] > 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment