Google Hangouts - admin tpl has wrong variables
Posted: Wed Feb 04, 2015 11:31 pm
Hi,
I noticed that Google Hangouts module doesn't accept setting changes and always returns an error message that the code field can not be empty. Looking into the admin controller and tpl files I found that the textarea and select elements have wrong names. The code
should be
and the code
should be
After I applied those changes the module started working properly.
I noticed that Google Hangouts module doesn't accept setting changes and always returns an error message that the code field can not be empty. Looking into the admin controller and tpl files I found that the textarea and select elements have wrong names. The code
Code: Select all
<textarea name="code" rows="5" id="input-code" class="form-control"><?php echo $code; ?></textarea>
Code: Select all
<textarea name="google_hangouts_code" rows="5" id="input-code" class="form-control"><?php echo $google_hangouts_code; ?></textarea>
Code: Select all
<select name="status" id="input-status" class="form-control">
<?php if ($status) { ?>
Code: Select all
<select name="google_hangouts_status" id="input-status" class="form-control">
<?php if ($google_hangouts_status) { ?>