log
This commit is contained in:
@@ -119,7 +119,17 @@ class Groepen_model extends MY_Model{
|
||||
AND GR.module = {$module}
|
||||
GROUP BY GR.id, GR.naam, GR.niveau, GR.totaantal, GR.ondersteuning
|
||||
ORDER BY niveau, naam, GR.id ";
|
||||
return $this->get_query_result();
|
||||
|
||||
// Tijdelijk debug: ook op productie loggen
|
||||
error_log("=== GETGROEPEN DEBUG ===");
|
||||
error_log("orgid: $orgid, schooljaarnr: $schooljaarnr, module: $module");
|
||||
error_log("SQL: " . $this->sql);
|
||||
|
||||
$result = $this->get_query_result();
|
||||
|
||||
error_log("Result: " . ($result === FALSE ? 'FALSE' : count($result) . ' rows'));
|
||||
|
||||
return $result;
|
||||
}
|
||||
function getgekopieerdegroepen($orgid, $schooljaarnr, $module){
|
||||
$this->sql = "SELECT GR.id,
|
||||
|
||||
Reference in New Issue
Block a user