diff options
author | Rasmus Lerdorf <[email protected]> | 2013-05-07 00:35:10 -0700 |
---|---|---|
committer | Rasmus Lerdorf <[email protected]> | 2013-05-07 00:35:10 -0700 |
commit | 6f7798b6434f5ef6073447998c436901b507e3df (patch) | |
tree | 0dfe18b247ee81f7dbd2f4df37631dcd040edef8 /lib/phpqrcode/qrmask.php | |
parent | 2c967d60237c5890549b9c9fa680ee7adec10e6a (diff) |
Fixing bugs found by static analysis
Diffstat (limited to 'lib/phpqrcode/qrmask.php')
-rw-r--r-- | lib/phpqrcode/qrmask.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/phpqrcode/qrmask.php b/lib/phpqrcode/qrmask.php index b14d7ae16..43d653ce3 100644 --- a/lib/phpqrcode/qrmask.php +++ b/lib/phpqrcode/qrmask.php @@ -149,13 +149,13 @@ if (file_exists($fileName)) {
$bitMask = self::unserial(file_get_contents($fileName));
} else {
- $bitMask = $this->generateMaskNo($maskNo, $width, $s, $d);
+ $bitMask = $this->generateMaskNo($maskNo, $width, $s);
if (!file_exists(QR_CACHE_DIR.'mask_'.$maskNo))
mkdir(QR_CACHE_DIR.'mask_'.$maskNo);
file_put_contents($fileName, self::serial($bitMask));
}
} else {
- $bitMask = $this->generateMaskNo($maskNo, $width, $s, $d);
+ $bitMask = $this->generateMaskNo($maskNo, $width, $s);
}
if ($maskGenOnly)
|