[BUGFIX] Don't query database with non-numeric uids in RelationHandler 96/51396/3
authorManuel Selbach <manuel_selbach@yahoo.de>
Sun, 22 Jan 2017 06:08:38 +0000 (22:08 -0800)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 25 Jan 2017 07:42:30 +0000 (08:42 +0100)
commitee1086c0d705a05f5e16222f127a85b37683d7a1
treecb756b3656fab10c284757cbde025162e2572792
parentb51fdede06b7b131f656a75e5142068d65152ac9
[BUGFIX] Don't query database with non-numeric uids in RelationHandler

Check that a uid is numeric to prevent errors when querying an integer
database field with a string value like NEW123456789.

Resolves: #79455
Releases: master
Change-Id: I03a71f31c537e04bc05fcf13f7153c7f6adb3ae7
Reviewed-on: https://review.typo3.org/51396
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Manuel Selbach <manuel_selbach@yahoo.de>
Tested-by: Manuel Selbach <manuel_selbach@yahoo.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/core/Classes/Database/RelationHandler.php