diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-10 13:16:40 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-10 13:16:40 +0000 |
commit | b4e7b04a4742fd60fe26d32664373ceeed46b01a (patch) | |
tree | 3d1b7d2999e29e0c5f758f37b52a326db259aea2 | |
parent | 06cbba3a765a8052a116336df0baff43bc55494c (diff) | |
download | apk_browser-b4e7b04a4742fd60fe26d32664373ceeed46b01a.tar.bz2 apk_browser-b4e7b04a4742fd60fe26d32664373ceeed46b01a.tar.xz |
fix typo and add isset to vars
-rw-r--r-- | apk_browser.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apk_browser.module b/apk_browser.module index 39b4e49..522ae77 100644 --- a/apk_browser.module +++ b/apk_browser.module @@ -685,12 +685,12 @@ function apk_browser_block_view($delta = '') { case 'apk_browser_reverse_depends': $revdep = apk_browser_reverse_depends(); if ($revdep) { - $block['subject'] = t('Reverse dependecies'); + $block['subject'] = t('Reverse dependencies'); $block['content'] = $revdep; } } // If one of the functions above returns true, we add collapse script - if (($origin) || ($revdep)) { + if ((isset($origin)) || (isset($revdep))) { drupal_add_js($js, 'inline'); } return ($block['content']) ? $block : FALSE; |