mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
More dbm::is_result() instead of count()
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
582b8db8e8
commit
c75d6ad850
4 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,7 @@ function get_salmon_key($uri,$keyhash) {
|
|||
// We have found at least one key URL
|
||||
// If it's inline, parse it - otherwise get the key
|
||||
|
||||
if(count($ret)) {
|
||||
if(count($ret) > 0) {
|
||||
for($x = 0; $x < count($ret); $x ++) {
|
||||
if(substr($ret[$x],0,5) === 'data:') {
|
||||
if(strstr($ret[$x],','))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue