X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=Civi%2FCrypto%2FCryptoToken.php;h=afe415d844f85b62315ef5cc5de36c775d5e9aa8;hb=bc2fb7e2c940f9d9102aa9464e88fd0190793679;hp=316159a3e495beff23e4851fc0fda1b0b4ac8cc3;hpb=6d5d2a550e23e3ae3bb6707af6abcc137ae694a3;p=civicrm-core.git diff --git a/Civi/Crypto/CryptoToken.php b/Civi/Crypto/CryptoToken.php index 316159a3e4..afe415d844 100644 --- a/Civi/Crypto/CryptoToken.php +++ b/Civi/Crypto/CryptoToken.php @@ -77,7 +77,7 @@ class CryptoToken { * @return bool */ public function isPlainText($plainText) { - return is_string($plainText) && ($plainText === '' || $plainText{0} !== $this->delim); + return is_string($plainText) && ($plainText === '' || $plainText[0] !== $this->delim); } /**