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 86ad606c
authored
Aug 04, 2011
by
Frederick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qrcode ...... downgrade
1 parent
4d73377c
Hide 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 @
86ad606
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
define
(
'QR_FORMAT_PNG'
,
1
);
define
(
'QR_FORMAT_PNG'
,
1
);
class
qrstr
{
class
qrstr
{
static
function
set
(
&
$srctab
,
$x
,
$y
,
$repl
,
$replLen
=
false
)
{
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