projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc7f6d9
)
Prevented warning for array index if extension files deleted.
author
John Kirk
<john@civifirst.com>
Sat, 22 Oct 2016 23:30:27 +0000
(23:30 +0000)
committer
John Kirk
<accounts@civifirst.com>
Mon, 9 Oct 2017 18:27:52 +0000
(18:27 +0000)
CRM/Admin/Page/Extensions.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Page/Extensions.php
b/CRM/Admin/Page/Extensions.php
index 363f35bd7a5e71a26e7b61986069ce232f350ea7..8abf943cc19071381dcb1847a6d5caa2d540d9d0 100644
(file)
--- a/
CRM/Admin/Page/Extensions.php
+++ b/
CRM/Admin/Page/Extensions.php
@@
-255,8
+255,10
@@
class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
$row['id']
);
if (isset($localExtensionRows[$info->key])) {
- if (version_compare($localExtensionRows[$info->key]['version'], $info->version, '<')) {
- $row['is_upgradeable'] = TRUE;
+ if (array_key_exists('version', $localExtensionRows[$info->key])) {
+ if (version_compare($localExtensionRows[$info->key]['version'], $info->version, '<')) {
+ $row['is_upgradeable'] = TRUE;
+ }
}
}
$remoteExtensionRows[$row['id']] = $row;