From ce9a4c0a35b9b254a513af8d64de78c95e76f213 Mon Sep 17 00:00:00 2001
From: Kevin Kaland <kevin@wizonesolutions.com>
Date: Fri, 2 Jun 2017 23:52:38 +0200
Subject: [PATCH] Fix variable name.

---
 fillpdf.admin.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fillpdf.admin.inc b/fillpdf.admin.inc
index d3db602..e400e24 100644
--- a/fillpdf.admin.inc
+++ b/fillpdf.admin.inc
@@ -64,10 +64,10 @@ function fillpdf_settings($form, &$form_state) {
     '#collapsible' => TRUE,
     '#collapsed' => $fillpdf_service !== 'remote',
   );
-  $form['remote']['remote_endpoint'] = array(
+  $form['remote']['fillpdf_remote_endpoint'] = array(
     '#type' => 'textfield',
     '#title' => t('Server endpoint'),
-    '#default_value' => variable_get('remote_endpoint', FILLPDF_DEFAULT_SERVLET_URL),
+    '#default_value' => variable_get('fillpdf_remote_endpoint', FILLPDF_DEFAULT_SERVLET_URL),
     '#description' => t('The endpoint for the FillPDF Service instance. This does not usually need to be changed, but you may want to if you have, for example, a <a href="https://fillpdf.io/hosting">private server</a>. Do not include the protocol, as this is determined by the <em>Use HTTPS?</em> setting below.'),
   );
   $form['remote']['fillpdf_api_key'] = array(
-- 
GitLab