mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-03-05 22:49:48 +01:00
Removed projekt color lookup because some module tables have no projekt id
This commit is contained in:
parent
87daa014d3
commit
86165a06bf
@ -774,14 +774,20 @@ class erpooSystem extends Application
|
|||||||
/*********** select field for projekt ***************/
|
/*********** select field for projekt ***************/
|
||||||
$selectid = $this->Secure->GetPOST('projekt');
|
$selectid = $this->Secure->GetPOST('projekt');
|
||||||
if($selectid=='' && $module !== 'projekt') {
|
if($selectid=='' && $module !== 'projekt') {
|
||||||
if(!empty($this->Conf->WFdbType) && $this->Conf->WFdbType==='postgre')
|
/*
|
||||||
|
|
||||||
|
Removed because of module tables that have no projekt id
|
||||||
|
|
||||||
|
if(!empty($this->Conf->WFdbType) && $this->Conf->WFdbType==='postgre')
|
||||||
{
|
{
|
||||||
//POSTGRE --> dringend bei statements wo es die tabelle gibt machen!
|
//POSTGRE --> dringend bei statements wo es die tabelle gibt machen!
|
||||||
$selectid = $this->DB->Select("SELECT projekt FROM `$module` WHERE id='$id' LIMIT 1");
|
$selectid = $this->DB->Select("SELECT projekt FROM `$module` WHERE id='$id' LIMIT 1");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$selectid = $id > 0?$this->DB->Select("SELECT projekt FROM `$module` WHERE id='$id' LIMIT 1"):NULL;
|
$selectid = $id > 0?$this->DB->Select("SELECT projekt FROM `$module` WHERE id='$id' LIMIT 1"):NULL;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$color_selected = '';
|
$color_selected = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user