Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncphp
/
mcClasses
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4d73377c
authored
Aug 04, 2011
by
Frederick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qrcode ...... downgrade
1 parent
6fa4eb5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
lib/phpqrcode/qrconst.php
lib/phpqrcode/qrconst.php
View file @
4d73377
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment