diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-04-02 16:20:07 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-02 16:20:07 -0700 |
commit | 213e6529558ea9ed027a1817df6dc9128a6512cc (patch) | |
tree | 4da7b8c9eddc4e7ad2596864bde57bdf9041c6a3 | |
parent | f6c5cec1451d23897f0b99b6a3cee90974f2764c (diff) | |
parent | 074f801acdd7d7b1a0a0a5e4ac8c5badfc253cad (diff) |
Merge branch 'Ticket#1666_reset' of git://github.com/Joe7/gallery3
-rw-r--r-- | modules/tag/helpers/tag_event.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/tag/helpers/tag_event.php b/modules/tag/helpers/tag_event.php index efef916f..df81ae65 100644 --- a/modules/tag/helpers/tag_event.php +++ b/modules/tag/helpers/tag_event.php @@ -110,11 +110,11 @@ class tag_event_Core { } static function add_photos_form($album, $form) { - if (!isset($group->uploadify)) { + $group = $form->add_photos; + if (!is_object($group->uploadify)) { return; } - $group = $form->add_photos; $group->input("tags") ->label(t("Add tags to all uploaded files")) ->value(""); @@ -133,7 +133,8 @@ class tag_event_Core { } static function add_photos_form_completed($album, $form) { - if (!isset($group->uploadify)) { + $group = $form->add_photos; + if (!is_object($group->uploadify)) { return; } |