Skip to content

Commit

Permalink
Merge pull request #173 from moon0326/fix/use-get-option
Browse files Browse the repository at this point in the history
Use get_option to prevent undefined notice
  • Loading branch information
ChetanGN authored Jan 5, 2021
2 parents 22def9f + a8b9817 commit 6a5265e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woo-razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class WC_Razorpay extends WC_Payment_Gateway
*/
public function getSetting($key)
{
return $this->settings[$key];
return $this->get_option($key);
}

protected function getCustomOrdercreationMessage()
Expand Down

0 comments on commit 6a5265e

Please sign in to comment.