mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Continued with #3010:
- removed added debug messages (maybe they will come back in accordance to code-style guidelines?) - converted $a->get_baseurl() back to App::get_baseurl() - reverted back other code I have touched/merged as this was double: (substr($url, 0, 4) !== 'http') on $url = 'https://bla'; will be FALSE (means found http at start), too. Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
4b860e7575
commit
23d4db5149
5 changed files with 16 additions and 27 deletions
|
@ -590,7 +590,7 @@ function process_events ($arr) {
|
|||
$is_first = ($d !== $last_date);
|
||||
|
||||
$last_date = $d;
|
||||
$edit = ((! $rr['cid']) ? array($a->get_baseurl().'/events/event/'.$rr['id'],t('Edit event'),'','') : null);
|
||||
$edit = ((! $rr['cid']) ? array(App::get_baseurl().'/events/event/'.$rr['id'],t('Edit event'),'','') : null);
|
||||
$title = strip_tags(html_entity_decode(bbcode($rr['summary']),ENT_QUOTES,'UTF-8'));
|
||||
if(! $title) {
|
||||
list($title, $_trash) = explode("<br",bbcode($rr['desc']),2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue