Beispiel #1
0
 /**
  * Handle contribution settings preview.
  *
  * @return null
  */
 protected function preview()
 {
     $this->message->preview();
     $attach_order = $this->request->variable('attach_order', array(0 => 0));
     // Preserve the attachment order when preview is hit just in case it has been modified
     if (!empty($attach_order)) {
         $this->screenshots->get_operator()->sort(true, $attach_order, true);
     }
 }