Commit a31b8f27 by Frederick

qrcode ...... upgrade

1 parent 86ad606c
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 {
function set(&$srctab, $x, $y, $repl, $replLen = false) { public 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!