Removing of PHP warnings

This commit is contained in:
Michael Vogel 2014-07-25 00:26:13 +02:00
parent b89140952b
commit 520c2514f2
2 changed files with 4 additions and 2 deletions

View file

@ -34,6 +34,7 @@ function convpath_page_header(&$a, &$o){
function convpath_page_end(&$a, &$o){ function convpath_page_end(&$a, &$o){
$o = convpath_convert($o); $o = convpath_convert($o);
if (isset($a->page['aside']))
$a->page['aside'] = convpath_convert($a->page['aside']); $a->page['aside'] = convpath_convert($a->page['aside']);
} }

View file

@ -485,6 +485,7 @@ function jappixmini_script(&$a,&$s) {
dbesc($dfrn_id), dbesc($dfrn_id),
dbesc($dfrn_id) dbesc($dfrn_id)
); );
if (count($r))
$name = $r[0]["name"]; $name = $r[0]["name"];
$value = $row['v']; $value = $row['v'];