From 30c91652e7dec29d3a668ce9973b03706c331a98 Mon Sep 17 00:00:00 2001
From: Uma <uma.s@vtiger.com>
Date: Thu, 12 Dec 2019 15:08:11 +0530
Subject: [PATCH] fixes #1225 custom block deletion translation

---
 modules/Settings/LayoutEditor/actions/Block.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Settings/LayoutEditor/actions/Block.php b/modules/Settings/LayoutEditor/actions/Block.php
index ae22b4a4a..2be978d55 100644
--- a/modules/Settings/LayoutEditor/actions/Block.php
+++ b/modules/Settings/LayoutEditor/actions/Block.php
@@ -81,7 +81,7 @@ class Settings_LayoutEditor_Block_Action extends Settings_Vtiger_Index_Action {
         $blockId = $request->get('blockid');
         $checkIfFieldsExists = Vtiger_Block_Model::checkFieldsExists($blockId);
         if($checkIfFieldsExists) {
-            $response->setError('502','Fields exists for the block');
+            $response->setError('502','Fields exist for the block');
             $response->emit();
             return;
         }
-- 
GitLab