mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-16 22:08:44 +02:00
Bug fix: AddToDashboard crashed the menu.
SVN:trunk[2218]
This commit is contained in:
@@ -921,6 +921,7 @@ class DBObjectSearch
|
||||
{
|
||||
$aParams = array_merge($aContextParams, $this->m_aParams);
|
||||
}
|
||||
$aParams = MetaModel::PrepareQueryArguments($aParams);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1287,4 +1288,4 @@ class DBObjectSearch
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -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"));
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user