aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/tree/nestedset.php
diff options
context:
space:
mode:
authorDerky <derky@phpbb.com>2018-01-05 22:44:34 +0100
committerDerky <derky@phpbb.com>2018-01-05 22:44:34 +0100
commit182a96f2738316adcb292816a9ac8af0e0cb5866 (patch)
tree0b6a0fb40a2ea201fdf4cfc5e4cc5ebfb4cb46db /phpBB/phpbb/tree/nestedset.php
parent2fcb8ab87fb30c57b106695859c2661fc3cc2837 (diff)
parent98c50695003652fba171e25dd2e171ddffbd72e1 (diff)
downloadforums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar
forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.gz
forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.bz2
forums-182a96f2738316adcb292816a9ac8af0e0cb5866.tar.xz
forums-182a96f2738316adcb292816a9ac8af0e0cb5866.zip
Merge pull request #4680 from marc1706/ticket/15055
[ticket/15055] Add appveyor file to allow running tests on appveyor as well
Diffstat (limited to 'phpBB/phpbb/tree/nestedset.php')
-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 c02deaebf4..eadd2b3273 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 . '