Removing of PHP warnings

pull/205/head
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,7 +34,8 @@ function convpath_page_header(&$a, &$o){
function convpath_page_end(&$a, &$o){
$o = convpath_convert($o);
$a->page['aside'] = convpath_convert($a->page['aside']);
if (isset($a->page['aside']))
$a->page['aside'] = convpath_convert($a->page['aside']);
}
function convpath_prepare_body_hook(&$a, &$o) {

View File

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