From 9692c1f2c24970bdb9789fe132b2e1aa9f869d9f Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 31 Aug 2015 14:05:51 -0700 Subject: [PATCH] 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 --- externals/phpqrcode/phpqrcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/phpqrcode/phpqrcode.php b/externals/phpqrcode/phpqrcode.php index 80adb9df23..54cde3ee9e 100644 --- a/externals/phpqrcode/phpqrcode.php +++ b/externals/phpqrcode/phpqrcode.php @@ -2937,7 +2937,7 @@ //---------------------------------------------------------------------- public function getCode() { - $ret; + $ret = null; if($this->count < $this->dataLength) { $row = $this->count % $this->blocks;