mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Avoid warnings in addons (#639)
* Avoid warnings in addons * And some warnings removed * And more ... * And some more ... * Added comment * And again ... * And again ... * Partly reworked "newmemberwidget" * And more warnings ... * The next round
This commit is contained in:
parent
9ec2b9390b
commit
475299e642
12 changed files with 102 additions and 61 deletions
|
@ -126,6 +126,8 @@ function showmore_prepare_body(\Friendica\App $a, &$hook_data)
|
|||
if (get_body_length($hook_data['html']) > $chars) {
|
||||
$found = true;
|
||||
$shortened = trim(showmore_cutitem($hook_data['html'], $chars)) . "...";
|
||||
} else {
|
||||
$found = false;
|
||||
}
|
||||
|
||||
if ($found) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue