diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-04-10 13:46:28 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-10 13:46:28 -0700 |
| commit | 916b7543d13bf33ca704dab18ba3d1eca13d9624 (patch) | |
| tree | fc10c61a2b6677b4811b4337515c5584d079ab53 /modules/gallery/helpers/gallery_block.php | |
| parent | 717d580b43b15d88b5bda010adc4fec2dd3b52b5 (diff) | |
Gracefully degrade in the case where the .build_number file is
missing. Fixes #1673.
Diffstat (limited to 'modules/gallery/helpers/gallery_block.php')
| -rw-r--r-- | modules/gallery/helpers/gallery_block.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_block.php b/modules/gallery/helpers/gallery_block.php index b9ccf25b..0ba7c936 100644 --- a/modules/gallery/helpers/gallery_block.php +++ b/modules/gallery/helpers/gallery_block.php @@ -112,6 +112,7 @@ class gallery_block_Core { $block->content->version_info = upgrade_checker::version_info(); $block->content->auto_check_enabled = upgrade_checker::auto_check_enabled(); $block->content->new_version = upgrade_checker::get_upgrade_message(); + $block->content->build_number = gallery::build_number(); } return $block; } |
