Skip to content

Commit

Permalink
Removed PHP warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lux committed Jul 15, 2010
1 parent 48edb6a commit 4b5b52a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/app/sitemember/boxes/home/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
$services = appconf ('member_services');

foreach ($services['home'] as $name => $service) {
list ($type, $call) = split (':', $service);
list ($type, $call) = explode (':', $service);
$func = 'loader_' . $type;
$data[$name] = $func (trim ($call), $parameters);
}
Expand Down
2 changes: 1 addition & 1 deletion inc/app/sitemember/boxes/index/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
exit;
}

list ($type, $call) = split (':', appconf ($action), 2);
list ($type, $call) = explode (':', appconf ($action), 2);
$func = 'loader_' . $type;
echo $func (trim ($call), $parameters, $box['context']);

Expand Down

0 comments on commit 4b5b52a

Please sign in to comment.