aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/tree
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-12-25 19:20:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-01 18:55:19 +0100
commit27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3 (patch)
tree51acc01b436ba4e62db6c6faf0ee375649fa0695 /phpBB/phpbb/tree
parent400fc0f73d03010d3bf28d2b1db5d789dc085334 (diff)
downloadforums-27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3.tar
forums-27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3.tar.gz
forums-27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3.tar.bz2
forums-27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3.tar.xz
forums-27a24d0a677a3f1fb0dcf2393859eb37fe3bc0c3.zip
[ticket/15055] Try using build matrix
PHPBB3-15055
Diffstat (limited to 'phpBB/phpbb/tree')
-rw-r--r--phpBB/phpbb/tree/nestedset.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/tree/nestedset.php b/phpBB/phpbb/tree/nestedset.php
index 7149513fd9..68485d04be 100644
--- a/phpBB/phpbb/tree/nestedset.php
+++ b/phpBB/phpbb/tree/nestedset.php
@@ -533,7 +533,7 @@ abstract class nestedset implements \phpbb\tree\tree_interface
$row = $this->db->sql_fetchrow($result);
$this->db->sql_freeresult($result);
- $diff = ' + ' . ($row[$this->column_right_id] - (int) $item[$this->column_left_id] + 1);
+ $diff = ' + ' . ((int) $row[$this->column_right_id] - (int) $item[$this->column_left_id] + 1);
}
$sql = 'UPDATE ' . $this->table_name . '