Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance/inc/class.dc.maintenance.task.php
r1959 r1969 63 63 $this->success = __('Task successfully executed.'); 64 64 } 65 66 $core->auth->user_prefs->addWorkspace('maintenance'); 67 $ts = $core->auth->user_prefs->maintenance->get('ts_'.$this->id); 68 69 $this->ts = abs((integer) $ts); 65 70 } 66 71 … … 93 98 public function ts() 94 99 { 95 return abs((integer) $this->ts);100 return $this->ts === false ? false : abs((integer) $this->ts); 96 101 } 97 102
Note: See TracChangeset
for help on using the changeset viewer.