projects
/
project/gallery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0dba2ab
)
- bugfix: return empty block (and no subject) if init fails
author
Thilo Wawrzik
Sun, 14 Oct 2007 18:09:57 +0000 (18:09 +0000)
committer
Thilo Wawrzik
Sun, 14 Oct 2007 18:09:57 +0000 (18:09 +0000)
gallery_base.inc
patch
|
blob
|
blame
|
history
diff --git
a/gallery_base.inc
b/gallery_base.inc
index
ce6432c
..
766205d
100644
(file)
--- 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');