From afc7dc8bb794e7b6903ed2d5a5dab34151ddef02 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 27 Jun 2003 11:00:16 +0000 Subject: [PATCH] fixed typo in get_links --- infolog/inc/class.bolink.inc.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.bolink.inc.php b/infolog/inc/class.bolink.inc.php index 9aa84ed0c3..a0c0e2df11 100644 --- a/infolog/inc/class.bolink.inc.php +++ b/infolog/inc/class.bolink.inc.php @@ -227,6 +227,8 @@ */ function get_links( $app,$id,$only_app='',$order='link_lastmod DESC' ) { + echo "

bolink::get_links(app='$app',id='$id',only_app='$only_app',order='$order')

\n"; + if (is_array($id) || !$id) { $ids = array(); @@ -252,7 +254,7 @@ } $ids = solink::get_links($app,$id,$only_app,$order); - if (empty($only_apps) || $only_apps == $this->vfs_appname || + if (empty($only_app) || $only_apps == $this->vfs_appname || ($only_app[0] == '!' && $only_app != '!'.$this->vfs_appname)) { if ($vfs_ids = $this->list_attached($app,$id)) @@ -260,6 +262,8 @@ $ids += $vfs_ids; } } + echo "ids=
"; print_r($ids); echo "
\n"; + return $ids; }