Commit 58682ea2 authored by Mario's avatar Mario

Merge branch 'pubcrawl_fixes' into 'dev'

fix undefined variables

See merge request !232
parents fc053d7e 4c9344ab
......@@ -48,6 +48,9 @@ class Inbox extends \Zotlabs\Web\Controller {
if($AS->type == 'Announce' && is_array($AS->obj) && array_key_exists('attributedTo',$AS->obj)) {
$arr = [];
$x = [];
$arr['author']['url'] = $AS->obj['attributedTo'];
pubcrawl_import_author($arr);
......
......@@ -42,6 +42,8 @@ class Pubcrawl extends Controller {
return $o;
}
$yes_no = [t('No'),t('Yes')];
$sc = '<div class="section-content-info-wrapper">' . $desc . '</div><br>';
$sc .= replace_macros(get_markup_template('field_checkbox.tpl'), array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment