mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 04:42:40 +01:00
Quickly fix phpqrcode syntax
Summary: phpqrcode has some old looking php syntax. Fix it quickly since it's one line. Test Plan: Before this patch, went to add a TOTP token, saw the error about the undefined variable. After this patch, successfully added a TOTP token, and used it. Reviewers: avivey, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Maniphest Tasks: T9300 Differential Revision: https://secure.phabricator.com/D14019
This commit is contained in:
parent
bce0698a0f
commit
9692c1f2c2
1 changed files with 1 additions and 1 deletions
2
externals/phpqrcode/phpqrcode.php
vendored
2
externals/phpqrcode/phpqrcode.php
vendored
|
@ -2937,7 +2937,7 @@
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
public function getCode()
|
public function getCode()
|
||||||
{
|
{
|
||||||
$ret;
|
$ret = null;
|
||||||
|
|
||||||
if($this->count < $this->dataLength) {
|
if($this->count < $this->dataLength) {
|
||||||
$row = $this->count % $this->blocks;
|
$row = $this->count % $this->blocks;
|
||||||
|
|
Loading…
Reference in a new issue