summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gallery_base.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_base.inc b/gallery_base.inc
index ce6432c..766205d 100644
--- a/gallery_base.inc
+++ b/gallery_base.inc
@@ -428,7 +428,7 @@ function gallery_set_javascript($javascript) {
*/
function gallery_get_block($params, $num_cols = NULL, $class = NULL) {
if (!_gallery_init()) {
- return array('subject' => '', 'content' => '');
+ return array('content' => '');
}
// Include gallery_block.inc and call the private implementation
require_once(drupal_get_path('module', 'gallery') .'/gallery_block.inc');