Don't treat objects like strings
This commit is contained in:
parent
dde187e88c
commit
1a65ded2a6
@ -35,7 +35,7 @@ class downloadfullsize_event_Core {
|
|||||||
static function movie_menu($menu, $theme) {
|
static function movie_menu($menu, $theme) {
|
||||||
if (access::can("view_full", $theme->item)) {
|
if (access::can("view_full", $theme->item)) {
|
||||||
if (module::get_var("downloadfullsize", "fButton")) {
|
if (module::get_var("downloadfullsize", "fButton")) {
|
||||||
$downloadLink = url::site("downloadfullsize/send/$theme->item");
|
$downloadLink = url::site("downloadfullsize/send/{$theme->item->id}");
|
||||||
$menu
|
$menu
|
||||||
->append(Menu::factory("link")
|
->append(Menu::factory("link")
|
||||||
->id("downloadfullsize")
|
->id("downloadfullsize")
|
||||||
|
Reference in New Issue
Block a user