فهرست منبع

Fix method called on non existing $this

Bubka 5 سال پیش
والد
کامیت
0fd9869230
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Classes/OTP.php

+ 1 - 1
app/Classes/OTP.php

@@ -18,7 +18,7 @@ class OTP
     public static function generate($uri)
     {
         
-        $otp = $this->get($uri);
+        $otp = OTP::get($uri);
 
         if( get_class($otp) === 'OTPHP\TOTP' ) {