Skip to content

Commit

Permalink
Merge pull request #299 from am3yrus/patch-5
Browse files Browse the repository at this point in the history
avoid an error at manual key insertion
  • Loading branch information
thpryrchn committed Jun 7, 2012
2 parents 1c1155a + 500f313 commit 73b12c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebInterface/pages/admin.php
Expand Up @@ -507,7 +507,7 @@
<?php
if($_SERVER['REQUEST_METHOD'] == "POST") {
if(!empty($_POST['key_sessionValidation']) && !empty($_POST['key_banned']) && !empty($_POST['key_expired'])) {
if($key->addKey($_POST['key_speechid'], $_POST['key_assistantid'], $_POST['key_sessionValidation'], $_POST['key_banned'], $_POST['key_expired'], $_POST['key_keyload'])) {
if($key->addKey($_POST['key_speechid'], $_POST['key_assistantid'], $_POST['key_sessionValidation'], $_POST['key_banned'], $_POST['key_expired'], $_POST['key_keyload'], ''')) {
echo '<p class="notification green">You have successfully added a new 4S key.</p>';
$log->addLog($_SESSION['loggedIn']['id'], "Added a new 4S key.");
$hideform = true;
Expand Down

0 comments on commit 73b12c8

Please sign in to comment.