- do not pass true to getReviewStatus() getApprovalStatus()

This commit is contained in:
steinm 2012-09-13 13:59:35 +00:00
parent 7a65e47cb5
commit 8851520074

View File

@ -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){