Bug fix: AddToDashboard crashed the menu.

SVN:trunk[2218]
This commit is contained in:
Denis Flaven
2012-09-26 10:19:41 +00:00
parent 088fcf9449
commit 5fc4775903
2 changed files with 4 additions and 3 deletions

View File

@@ -921,6 +921,7 @@ class DBObjectSearch
{
$aParams = array_merge($aContextParams, $this->m_aParams);
}
$aParams = MetaModel::PrepareQueryArguments($aParams);
}
else
{
@@ -1287,4 +1288,4 @@ class DBObjectSearch
}
?>
?>

View File

@@ -1976,7 +1976,7 @@ abstract class MetaModel
protected static $m_aQueryStructCache = array();
protected static function PrepareQueryArguments($aArgs)
public static function PrepareQueryArguments($aArgs)
{
// Translate any object into scalars
//
@@ -4994,4 +4994,4 @@ MetaModel::RegisterZList("preview", array("description"=>"All attributes visible
MetaModel::RegisterZList("standard_search", array("description"=>"List of criteria for the standard search", "type"=>"filters"));
MetaModel::RegisterZList("advanced_search", array("description"=>"List of criteria for the advanced search", "type"=>"filters"));
?>
?>