Removing of PHP warnings
This commit is contained in:
parent
b89140952b
commit
520c2514f2
|
@ -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) {
|
||||
|
|
|
@ -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, ":");
|
||||
|
|
Loading…
Reference in a new issue