[BUGFIX] Use correct default value for field data_page_reg1 49/55449/2
authorGeorg Ringer <georg.ringer@gmail.com>
Tue, 23 Jan 2018 04:22:48 +0000 (05:22 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 24 Jan 2018 15:47:21 +0000 (16:47 +0100)
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

index 478a44f..172e9ec 100644 (file)
@@ -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: