From 8f3ccaf0bfaae57a5775da63ba041e10b5f8f927 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Tue, 15 Apr 2014 16:37:32 -0700 Subject: [PATCH] CRM-14191 - fix notice in FourFour.php upgrade. ---------------------------------------- * CRM-14191: https://issues.civicrm.org/jira/browse/CRM-14191 --- CRM/Upgrade/Incremental/php/FourFour.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/php/FourFour.php b/CRM/Upgrade/Incremental/php/FourFour.php index ba26bcf811..f01e297af3 100644 --- a/CRM/Upgrade/Incremental/php/FourFour.php +++ b/CRM/Upgrade/Incremental/php/FourFour.php @@ -519,7 +519,10 @@ CREATE TABLE IF NOT EXISTS `civicrm_word_replacement` ( $params["domain_id"] = $value["id"]; $params["options"] = array('wp-rebuild' => $rebuildEach); // unserialize word match string - $localeCustomArray = unserialize($value["locale_custom_strings"]); + $localeCustomArray = array(); + if (!empty($value["locale_custom_strings"])) { + $localeCustomArray = unserialize($value["locale_custom_strings"]); + } if (!empty($localeCustomArray)) { $wordMatchArray = array(); // Traverse Language array -- 2.25.1