Skip to content

Commit

Permalink
[Module][Gallery] Fix php error on editing
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbilcot committed Oct 9, 2015
1 parent 0b900ec commit 838fd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/controllers/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function _edit($gallery_id, $category_id, $image_id, $name, $published, $
array(
'title' => 'Date',
'content' => function($data){
return '<span data-toggle="tooltip" title="'.timetostr($NeoFrag->lang('date_time_long'), $data['date']).'">'.time_span($data['date']).'</span>';
return '<span data-toggle="tooltip" title="'.timetostr(NeoFrag::loader()->lang('date_time_long'), $data['date']).'">'.time_span($data['date']).'</span>';
},
'align' => 'left',
'sort' => function($data){
Expand Down

0 comments on commit 838fd7b

Please sign in to comment.