Updated OSB to work with KH 3.1
This commit is contained in:
@@ -45,7 +45,7 @@ class Controller_Admin_Export extends Controller_TemplateDefault {
|
||||
->export($daysago);
|
||||
|
||||
if (count($payments)) {
|
||||
$output = Form::open(Request::instance()->uri(array('action'=>'export')));
|
||||
$output = Form::open(Request::current()->uri(array('action'=>'export')));
|
||||
$output .= '<table class="box-left">';
|
||||
|
||||
$output .= View::factory('export/payment/header')
|
||||
@@ -72,8 +72,6 @@ class Controller_Admin_Export extends Controller_TemplateDefault {
|
||||
'body'=>$output,
|
||||
));
|
||||
|
||||
$this->template->content = Block::factory();
|
||||
|
||||
# Nothing to export
|
||||
} else {
|
||||
SystemMessage::add(array(
|
||||
|
@@ -16,7 +16,7 @@ class Export {
|
||||
|
||||
public function __construct() {
|
||||
$this->plugin = preg_replace('/^'.get_parent_class($this).'_/','',get_class($this));
|
||||
$this->request = Request::instance();
|
||||
$this->request = Request::current();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user