Permalink
Browse files

Created default value in case ssl_host is empty.

  • Loading branch information...
1 parent e7d4415 commit c419461d26197b67b63cd807a0952af5dcd787a6 @mvied committed Mar 30, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/WordPressHTTPS/Module/Settings.php
@@ -246,6 +246,7 @@ public function save() {
$errors = array();
$reload = false;
$logout = false;
+ $ssl_host = clone $this->getPlugin()->getHttpsUrl();
foreach ($this->getPlugin()->getSettings() as $key => $default) {
if ( !array_key_exists($key, $_POST) && $default == 0 ) {

0 comments on commit c419461

Please sign in to comment.