Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Imported From: http://groups.google.com/group/in-portal-bugs/browse_thread/thread/477e8e3bb9610a8d#

In-Portal  5.1.1

core/kernel/application.php:1540
______
  function HREF($t, $prefix = '', $params = null, $index_file = null)
______

default-defining variable $params here that way causes code at line
1566:
______
  if (array_key_exists('use_section', $params)) {
______

to trigger error: "array_key_exists(): The second argument should be
either an array or an object".

According to general development rules this should be changed either
to:
______
  function HREF($t, $prefix = '', $params = Array(), $index_file =
null)
______

or:
______
  if (is_array($params) && array_key_exists('use_section', $params)) {
______

  • No labels