mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
Merge branch 'master' into develop
# Conflicts: # core/config.class.inc.php # core/htmlsanitizer.class.inc.php # css/css-variables.scss # css/light-grey.css # datamodels/2.x/version.xml # dictionaries/zh_cn.dictionary.itop.ui.php # synchro/synchrodatasource.class.inc.php
This commit is contained in:
@@ -1667,7 +1667,7 @@ class DBObjectSearch extends DBSearch
|
||||
// Query caching
|
||||
//
|
||||
$sOqlAPCCacheId = null;
|
||||
if (self::$m_bQueryCacheEnabled)
|
||||
if (self::$m_bQueryCacheEnabled && $bCanCache)
|
||||
{
|
||||
// Warning: using directly the query string as the key to the hash array can FAIL if the string
|
||||
// is long and the differences are only near the end... so it's safer (but not bullet proof?)
|
||||
|
||||
Reference in New Issue
Block a user