Skip to content

Commit

Permalink
Merge pull request #1 from mambax7/master
Browse files Browse the repository at this point in the history
Remove pass-by-reference instances
  • Loading branch information
mambax7 authored May 24, 2017
2 parents 857b137 + 27f1249 commit ed55b2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion htdocs/modules/songlist/xoops_version.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
$modversion['author_email'] = "[email protected]";
$modversion['status_version'] = "1.00";

$modversion['warning'] = "For XOOPS 2.5 or later";
$modversion['warning'] = "For XOOPS 2.5.7.2 or later";
$modversion['min_php'] = '5.5';
$modversion['min_xoops'] = '2.5.7.2';

$modversion['demo_site_url'] = "http://xoops.demo.chronolabs.coop/";
$modversion['demo_site_name'] = "Chronolabs";
Expand Down
2 changes: 1 addition & 1 deletion htdocs/modules/tag/plugin/songlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function songlist_tag_iteminfo(&$items)
}
$item_handler =& xoops_getmodulehandler('songs', 'songlist');
$items_obj = $item_handler->getObjects(new Criteria("sid", "(" . implode(", ", $items_id) . ")", "IN"), true);
$myts =& MyTextSanitizer::getInstance();
$myts = MyTextSanitizer::getInstance();
foreach (array_keys($items) as $cat_id) {
foreach (array_keys($items[$cat_id]) as $item_id) {
$item_obj =& $items_obj[$item_id];
Expand Down

0 comments on commit ed55b2a

Please sign in to comment.