summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/trigger.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/inc/trigger.inc.php b/inc/trigger.inc.php
index 5ad11a91..13854589 100644
--- a/inc/trigger.inc.php
+++ b/inc/trigger.inc.php
@@ -119,7 +119,11 @@ class Trigger
$vmstore = Property::getVmStoreConfig();
if (!is_array($vmstore))
return false;
- $storetype = $vmstore['storetype'];
+ if (isset($vmstore['storetype'])) {
+ $storetype = $vmstore['storetype'];
+ } else {
+ $storetype = 'unknown';
+ }
if ($storetype === 'nfs')
$addr = $vmstore['nfsaddr'];
if ($storetype === 'cifs')