CRM-18020 -- Getting Started Dashlet doubles when upgrading from 4.6.12 to Future...
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 11 Feb 2016 13:07:39 +0000 (18:37 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 11 Feb 2016 13:07:39 +0000 (18:37 +0530)
CRM/Upgrade/Incremental/php/FourSeven.php

index 5ea8cbab8d6a7353556383e98b7c7289762cbd6c..f80bb444cfd1c62927e9dcee249d62afc89e0f1c 100644 (file)
@@ -269,7 +269,7 @@ class CRM_Upgrade_Incremental_php_FourSeven extends CRM_Upgrade_Incremental_Base
    * @return bool
    */
   public function addGettingStartedDashlet(CRM_Queue_TaskContext $ctx) {
-    $sql = "SELECT count(*) FROM civicrm_dashboard WHERE name='gettingStarted'";
+    $sql = "SELECT count(*) FROM civicrm_dashboard WHERE name='getting-started'";
     $res = CRM_Core_DAO::singleValueQuery($sql);
     $domainId = CRM_Core_Config::domainID();
     if ($res <= 0) {