Fix returning link_to
parent
6204dfdecc
commit
febf424259
|
@ -1095,8 +1095,9 @@ public static function getStatuses() {
|
|||
if (isset($gp_permissions['Edit'])) return 'Edit';
|
||||
return $u->Monitors();
|
||||
}
|
||||
|
||||
public function link_to($text='') {
|
||||
return '<a href="?view=monitor&mid='.$this->Id().'">'.$text ? $text : $this->Name().'</a>';
|
||||
return '<a href="?view=monitor&mid='.$this->Id().'">'.($text ? $text : $this->Name()).'</a>';
|
||||
}
|
||||
} // end class Monitor
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue