Skip to content

Commit 2a78582

Browse files
authored
Merge pull request #315 from Leinad4Mind/fix-meta-refresh-approval
Fix meta refresh on approval
2 parents bc8d98c + 420a35e commit 2a78582

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

core/controller/moderate.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -723,12 +723,8 @@ public function approve($image_id)
723723
// So we need to see if there are still unapproved images in the album
724724
$this->notification_helper->read('approval', $album_data['album_id']);
725725
$message = $this->language->lang('WAITING_APPROVED_IMAGE', 1);
726-
//meta_refresh($meta_refresh_time, $image_backlink);
727-
$this->template->assign_vars(array(
728-
'INFORMATION' => $message
729-
));
730-
return $this->helper->render('gallery/message.html', $this->language->lang('GALLERY'));
731-
//trigger_error($message);
726+
meta_refresh($meta_refresh_time, $image_backlink);
727+
trigger_error($message);
732728
}
733729
else
734730
{

0 commit comments

Comments
 (0)