mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 00:15:34 +00:00
set allday flag for scheduled revision
This commit is contained in:
parent
3b3b5efafe
commit
228bfffba1
|
@ -2772,7 +2772,7 @@ class SeedDMS_Core_Document extends SeedDMS_Core_Object { /* {{{ */
|
|||
|
||||
foreach ($resArr as $row) {
|
||||
if($row['revisiondate'])
|
||||
$timeline[] = array('date'=>$row['revisiondate'], 'msg'=>'Scheduled revision of version '.$row['version'], 'type'=>'scheduled_revesion', 'version'=>$row['version'], 'document'=>$this, 'params'=>array($row['version']));
|
||||
$timeline[] = array('date'=>substr($row['revisiondate'], 0, 10), 'allday'=>true, 'msg'=>'Scheduled revision of version '.$row['version'], 'type'=>'scheduled_revesion', 'version'=>$row['version'], 'document'=>$this, 'params'=>array($row['version']));
|
||||
}
|
||||
|
||||
$queryStr = "SELECT * FROM `tblDocumentFiles` WHERE `document` = " . $this->_id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user