|
@@ -846,7 +846,7 @@ if (count($_POST) > 0 && $_POST["persistform"] != "1") {
|
|
|
echo " <td class='vncell' valign='top'>".$text['label-api_key']."</td>";
|
|
|
echo " <td class='vtable'>\n";
|
|
|
echo " <input type=\"text\" class='formfld' name=\"api_key\" id='api_key' value=\"".escape($api_key)."\" >";
|
|
|
- echo " <input type='button' class='btn' value='".$text['button-generate']."' onclick=\"getElementById('api_key').value='".escape(uuid())."';\">";
|
|
|
+ echo " <input type='button' class='btn' value='".$text['button-generate']."' onclick=\"getElementById('api_key').value='".uuid()."';\">";
|
|
|
if (strlen($text['description-api_key']) > 0) {
|
|
|
echo " <br />".$text['description-api_key']."<br />\n";
|
|
|
}
|