overzetten naar nieuwe versie

This commit is contained in:
Monique
2021-07-13 14:58:26 +02:00
parent 444829340a
commit 4db6e1bc4d
32 changed files with 1130 additions and 281 deletions
@@ -87,6 +87,7 @@ class Sopoud extends MY_Controller{
function Getversies($profielid,$chapterid){
$versies = [];
$hoofdstuk = $this->Hoofdstukken_model->get_record_by_id($chapterid);
if ($hoofdstuk->module == 0 ) return $versies;
$module = $this->Modules_model->get_record_by_id( $hoofdstuk->module);