Commit 4d73377c by Frederick

qrcode ...... downgrade

1 parent 6fa4eb5a
Showing with 2 additions and 1 deletions
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
define('QR_FORMAT_PNG', 1); define('QR_FORMAT_PNG', 1);
class qrstr { class qrstr {
public static function set(&$srctab, $x, $y, $repl, $replLen = false) { static function set(&$srctab, $x, $y, $repl, $replLen = false) {
$srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl)); $srctab[$y] = substr_replace($srctab[$y], ($replLen !== false)?substr($repl,0,$replLen):$repl, $x, ($replLen !== false)?$replLen:strlen($repl));
} }
} }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!