From 555d256f5c52440f52c17e690f8c9a62c91ee12f Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 26 Aug 2014 11:01:16 +0100 Subject: [PATCH] API explorer - tweak drush syntax --- templates/CRM/Admin/Page/APIExplorer.js | 2 +- templates/CRM/Admin/Page/APIExplorer.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Admin/Page/APIExplorer.js b/templates/CRM/Admin/Page/APIExplorer.js index 028110e954..3c101d7ff0 100644 --- a/templates/CRM/Admin/Page/APIExplorer.js +++ b/templates/CRM/Admin/Page/APIExplorer.js @@ -342,7 +342,7 @@ q.php += " '" + key + "' => " + phpFormat(value) + ",\n"; q.json += " \"" + key + '": ' + js; q.smarty += ' ' + key + '=' + smartyFormat(js, key); - q.drush += key + '=' + value + ' '; + q.drush += key + '=' + js + ' '; }); if (i) { q.php += ")"; diff --git a/templates/CRM/Admin/Page/APIExplorer.tpl b/templates/CRM/Admin/Page/APIExplorer.tpl index accf788f01..d6c3da8d16 100644 --- a/templates/CRM/Admin/Page/APIExplorer.tpl +++ b/templates/CRM/Admin/Page/APIExplorer.tpl @@ -129,7 +129,7 @@ Php

       Javascript

       {if $config->userSystem->is_drupal}
-        Drush

+        Drush

       {/if}
     
   
-- 
2.25.1