aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/tree/nestedset.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-30 15:16:41 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-30 15:16:41 +0200
commit055ee41065fb0b7c08c66daff196eb2d3460b0cc (patch)
tree90956c317c754409ab5d656e308e43cac7ecf824 /phpBB/includes/tree/nestedset.php
parent529e4c00fbb78ba513afbbacfb3d5465efbd82ef (diff)
downloadforums-055ee41065fb0b7c08c66daff196eb2d3460b0cc.tar
forums-055ee41065fb0b7c08c66daff196eb2d3460b0cc.tar.gz
forums-055ee41065fb0b7c08c66daff196eb2d3460b0cc.tar.bz2
forums-055ee41065fb0b7c08c66daff196eb2d3460b0cc.tar.xz
forums-055ee41065fb0b7c08c66daff196eb2d3460b0cc.zip
[ticket/11495] Remove useless cast
PHPBB3-11495
Diffstat (limited to 'phpBB/includes/tree/nestedset.php')
-rw-r--r--phpBB/includes/tree/nestedset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/tree/nestedset.php b/phpBB/includes/tree/nestedset.php
index 85e04cd1cf..6819f9791b 100644
--- a/phpBB/includes/tree/nestedset.php
+++ b/phpBB/includes/tree/nestedset.php
@@ -648,7 +648,7 @@ abstract class phpbb_tree_nestedset implements phpbb_tree_interface
public function get_path_basic_data(array $item)
{
$parents = array();
- if ((int) $item[$this->column_parent_id])
+ if ($item[$this->column_parent_id])
{
if (!$item[$this->column_item_parents])
{