$ar = $this->userProjects();
- //print_r($ar);
+
if (!isset($ar[$currentProject])) {
$currentProject = false;
$_SESSION[__CLASS__]['active_project_id'] = false;
$ar = $p->fetchAll('id', 'name');
} else {
- //DB_DAtaObject::debugLevel(1);
+ DB_DAtaObject::debugLevel(1);
$p->applyFilters(array(), $this->authUser, $this);
if (!$this->authUser->hasPerm('Core.Projects_All', 'S')) {
$p->whereAdd("Projects.id in (SELECT ProjectDirectory.project_id FROM ProjectDirectory WHERE