mirror of
https://github.com/friendica/friendica
synced 2025-04-27 07:50:10 +00:00
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
cdff732044
commit
299c0122f6
8 changed files with 112 additions and 102 deletions
|
@ -33,7 +33,7 @@ function create_files_from_item($itemid) {
|
|||
function create_files_from_itemuri($itemuri, $uid) {
|
||||
$messages = q("SELECT `id` FROM `item` WHERE uri ='%s' AND uid=%d", dbesc($itemuri), intval($uid));
|
||||
|
||||
if(count($messages)) {
|
||||
if (count($messages)) {
|
||||
foreach ($messages as $message)
|
||||
create_files_from_item($message["id"]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue