Browse Source

Correctif Producer

refactoring
Guillaume 3 years ago
parent
commit
084307c068
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/Producer.php

+ 1
- 1
common/models/Producer.php View File

@@ -683,7 +683,7 @@ class Producer extends ActiveRecordCommon

public function savePrivateKeyStripe($filename, $value)
{
if ($this->online_payment && strlen($value) > 0) {
if (strlen($value) > 0) {
$handle = fopen($filename, "w");
fwrite($handle, $value);
fclose($handle);

Loading…
Cancel
Save