From 89641cd9f304a6e4f0e3db13ff19cf4e40a026f7 Mon Sep 17 00:00:00 2001 From: Susanne Moog Date: Sat, 9 Jul 2011 12:05:34 +0200 Subject: [PATCH] [TASK] Remove deprecated usages of intInRange, intval_positive and int_from_ver This is part of the t3lib_div refactoring started at T3DD11. With #28019 these methods have been moved to own utility classes, now the Core should uses these. Change-Id: Ib5b0d8f9a4322e5489b148e280993a3579fc21af Resolves: #28026 Reviewed-on: http://review.typo3.org/3179 Reviewed-by: Georg Ringer Tested-by: Georg Ringer Reviewed-by: Stefan Neufeind Reviewed-by: Steffen Gebert Tested-by: Steffen Gebert --- view/class.tx_feedit_editpanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/class.tx_feedit_editpanel.php b/view/class.tx_feedit_editpanel.php index b1eb879..cc517bd 100644 --- a/view/class.tx_feedit_editpanel.php +++ b/view/class.tx_feedit_editpanel.php @@ -299,7 +299,7 @@ class tx_feedit_editpanel { */ protected function editPanelPreviewBorder($table, array $row, $content, $thick, array $conf = array()) { if ($this->isDisabled($table, $row)) { - $thick = t3lib_div::intInRange($thick, 1, 100); + $thick = t3lib_utility_Math::forceIntegerInRange($thick, 1, 100); $color = $conf['color'] ? $conf['color'] : '#cccccc'; if ($conf['innerWrap']) { $content = $this->wrap($content,$conf['innerWrap']);