From: <sy...@us...> - 2007-10-11 20:36:29
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv30923 Modified Files: tiki-mypages.php Log Message: [FIX]avoid warning Index: tiki-mypages.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-mypages.php,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- tiki-mypages.php 1 Oct 2007 07:54:43 -0000 1.25 +++ tiki-mypages.php 11 Oct 2007 20:36:26 -0000 1.26 @@ -48,7 +48,7 @@ $offset=$showpage * $lpp; $pages=MyPage::listPages($use_id_users, $mypage_type, $offset, $lpp); if (is_callable(array($typeclassname, "customizeMypagesListing"))) - call_user_func(array($typeclassname, "customizeMypagesListing"), &$pages); + call_user_func(array($typeclassname, "customizeMypagesListing"), array(&$pages)); $pagesnum=array(); for($i=0; $i < $pcount; $i++) $pagesnum[$i]=$i+1; $smarty->assign("pagesnum", $pagesnum); @@ -147,7 +147,7 @@ .'<a href="#" onclick="deleteMypage({$mypage.id});" title="{tr}delete entry{/tr}"><img src="pics/icons/cross.png" border="0" height="16" width="16" alt="{tr}delete entry{/tr}" /></a>'); if (!is_myerror($typeclassname) && is_callable(array($typeclassname, 'customizeColumns'))) { - call_user_func(array($typeclassname, 'customizeColumns'), &$mp_columns); + call_user_func(array($typeclassname, 'customizeColumns'), array(&$mp_columns)); } |