diff options
author | buckaroo-labs | 2023-12-20 18:18:46 -0800 |
---|---|---|
committer | GitHub | 2023-12-20 18:18:46 -0800 |
commit | f8be10fe06fc961e35ca167dabf5b15c4a3a0fcb (patch) | |
tree | 21801a5c3c6aeb1f51878d5755c8cbe51ef9488c /src/SemanticScuttle/Service | |
parent | 60fd8f4098bc0644ea83212696dd3c39c159175a (diff) | |
download | scuttle-f8be10fe06fc961e35ca167dabf5b15c4a3a0fcb.tar.gz scuttle-f8be10fe06fc961e35ca167dabf5b15c4a3a0fcb.zip |
Update User.php for PHP 8
Diffstat (limited to 'src/SemanticScuttle/Service')
-rw-r--r-- | src/SemanticScuttle/Service/User.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SemanticScuttle/Service/User.php b/src/SemanticScuttle/Service/User.php index 434e6b7..917c7c9 100644 --- a/src/SemanticScuttle/Service/User.php +++ b/src/SemanticScuttle/Service/User.php @@ -301,6 +301,8 @@ class SemanticScuttle_Service_User extends SemanticScuttle_DbService */ public function isPrivateKeyValid($privateKey) { + //2023-12-20 add line for PHP 8 Deprecated warning + if (is_null($privateKey)) return false; // check length of private key if (strlen($privateKey) == 32) { return true; |