Skip to content

Commit

Permalink
Update Inspection.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pavlosb committed Jun 30, 2024
1 parent 300881e commit ee2fb40
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions application/controllers/Inspection.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ public function __construct()
$this->load->helper('form');
$this->lang->load('itin','greek');
$sesdata = $this->session->userdata;
$this->data = array(
'user_lang' => $sesdata['site_lang'],
'usrgrp' => 3
);
$this->data['usrgrp'] = 3;
if (isset($sesdata['user_lang'])) {
$this->data['user_lang'] = $sesdata['site_lang'];
} else {
$this->data['user_lang'] = "greek";
}


}
public function index()
Expand Down

0 comments on commit ee2fb40

Please sign in to comment.