From e23014b815086f7a6641a89b10f7c66c4c0f7f6f Mon Sep 17 00:00:00 2001 From: Georg Ringer <georg.ringer@gmail.com> Date: Tue, 23 Jan 2018 05:22:48 +0100 Subject: [PATCH] [BUGFIX] Use correct default value for field data_page_reg1 The field data_page_reg1 of table index_phash is defined as integer. Therefore the default value must be 0 instead of an empty string. Resolves: #83641 Releases: master, 8.7, 7.6 Change-Id: I4c1f115b8c8bbcb961627d7f5a5a413a8d5cf419 Reviewed-on: https://review.typo3.org/55449 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- typo3/sysext/indexed_search/Classes/Indexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/indexed_search/Classes/Indexer.php b/typo3/sysext/indexed_search/Classes/Indexer.php index 478a44fb2c5a..172e9ecd25e8 100644 --- a/typo3/sysext/indexed_search/Classes/Indexer.php +++ b/typo3/sysext/indexed_search/Classes/Indexer.php @@ -364,7 +364,7 @@ class Indexer // Set to defaults $this->conf['freeIndexUid'] = 0; $this->conf['freeIndexSetId'] = 0; - $this->conf['page_cache_reg1'] = ''; + $this->conf['page_cache_reg1'] = 0; // Root line uids $this->conf['rootline_uids'] = $uidRL; // Configuration of behavior: -- GitLab