diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index 19b102c7e8..ae0fc85bb8 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -378,7 +378,8 @@ if (!($values['msg'] = $this->delete($do_id,$called_as,$called_as ? '' : 'index'))) return; break; case 'close': - return $this->close($do_id,$called_as,$do == 'close_subs'); + $this->close($do_id,$called_as); + break; case 'sp': return $this->edit(0,'sp',$do_id,'',$called_as); case 'view': @@ -477,7 +478,7 @@ } } } - return $referer ? $this->tmpl->location($referer) : $this->index(); + if ($referer) $this->tmpl->location($referer); } function delete($values=0,$referer='',$called_by='')