corrected some typos in the link-class support functions

This commit is contained in:
Ralf Becker 2002-09-02 09:21:35 +00:00
parent 4a25ce8bc0
commit c698632d44

View File

@ -453,7 +453,7 @@
{ {
if (!is_array($info)) if (!is_array($info))
{ {
$info = $this->read( $info )) $info = $this->read( $info );
} }
return $info['info_subject']; return $info['info_subject'];
} }
@ -465,7 +465,7 @@
function link_title( $pattern ) function link_title( $pattern )
{ {
$start = $total = 0; $start = $total = 0;
$ids = $this->readIdArray('','','','',$pattern,'','','',&$start,&$total) $ids = $this->readIdArray('','','','',$pattern,'','','',&$start,&$total);
$content = array(); $content = array();
while (is_array($ids) && list( $id,$parent ) = each( $ids )) while (is_array($ids) && list( $id,$parent ) = each( $ids ))
{ {