Skip to content

Commit

Permalink
Fix call to undefined function
Browse files Browse the repository at this point in the history
  • Loading branch information
Kienan Stewart committed May 24, 2019
1 parent acb92cd commit 8f806d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/lib/alternc/generate_certbot.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function vprint( $message, $params ){
if ( $current = $ssl->get_certificate($sub_domain["sub_domain"]["certificate_id"],true) ) {

// found, is it valid ? (fqdn match) (skips panel one)
if ($ssl->fqdnMatch($current["fqdn"],$sub_domain["sub_domain"]["fqdn"])) {
if ($ssl->fqdnmatch($current["fqdn"],$sub_domain["sub_domain"]["fqdn"])) {
// found and valid, (works for wildcards too ;) )
// now what about the date?
if ($current["validstartts"]>time()
Expand Down

0 comments on commit 8f806d4

Please sign in to comment.