fix for adding new groups

This commit is contained in:
skeeter 2001-01-22 17:48:15 +00:00
parent 330fea80a4
commit db8884dfe7

View File

@ -45,6 +45,7 @@
}
if(!$this->apps_loaded) {
$this->apps_loaded = True;
$db2->lock(array("applications"));
$db2->query("select * from applications where app_enabled != '0'",__LINE__,__FILE__);
$apps_enabled = False;
while ($db2->next_record()) {
@ -58,6 +59,7 @@
$this->enabled[$name] = 1;
$this->status[$name] = $db2->f("app_status");
}
$db2->unlock();
}
if($apps_enabled && $lid) {
$owner_found = False;