mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- do not pass true to getReviewStatus() getApprovalStatus()
This commit is contained in:
parent
7a65e47cb5
commit
8851520074
|
@ -1677,7 +1677,7 @@ class LetoDMS_Core_DocumentContent { /* {{{ */
|
|||
|
||||
$pendingReview=false;
|
||||
unset($this->_reviewStatus); // force to be reloaded from DB
|
||||
$reviewStatus=$this->getReviewStatus(true);
|
||||
$reviewStatus=$this->getReviewStatus();
|
||||
if (is_array($reviewStatus) && count($reviewStatus)>0) {
|
||||
foreach ($reviewStatus as $r){
|
||||
if ($r["status"]==0){
|
||||
|
@ -1688,7 +1688,7 @@ class LetoDMS_Core_DocumentContent { /* {{{ */
|
|||
}
|
||||
$pendingApproval=false;
|
||||
unset($this->_approvalStatus); // force to be reloaded from DB
|
||||
$approvalStatus=$this->getApprovalStatus(true);
|
||||
$approvalStatus=$this->getApprovalStatus();
|
||||
if (is_array($approvalStatus) && count($approvalStatus)>0) {
|
||||
foreach ($approvalStatus as $a){
|
||||
if ($a["status"]==0){
|
||||
|
|
Loading…
Reference in New Issue
Block a user