diff options
author | Cesar G <prototech91@gmail.com> | 2013-12-06 00:09:36 -0800 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-12-06 00:09:36 -0800 |
commit | 823d2b697a9bcec96f4ef841a77bfe900ce530f4 (patch) | |
tree | c4c255f0e0c16ef30c808f7912226317c8800357 /phpBB/includes | |
parent | 9e8ee56404c40cfb0ffbc435a83aa726dc41a8c0 (diff) | |
download | forums-823d2b697a9bcec96f4ef841a77bfe900ce530f4.tar forums-823d2b697a9bcec96f4ef841a77bfe900ce530f4.tar.gz forums-823d2b697a9bcec96f4ef841a77bfe900ce530f4.tar.bz2 forums-823d2b697a9bcec96f4ef841a77bfe900ce530f4.tar.xz forums-823d2b697a9bcec96f4ef841a77bfe900ce530f4.zip |
[ticket/12038] Use $move_executed in place of $db->sql_affectedrows().
PHPBB3-12038
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_icons.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_icons.php b/phpBB/includes/acp/acp_icons.php index 2d90d42992..327b510299 100644 --- a/phpBB/includes/acp/acp_icons.php +++ b/phpBB/includes/acp/acp_icons.php @@ -835,7 +835,7 @@ class acp_icons $move_executed = (bool) $db->sql_affectedrows(); // Only update the other entry too if the previous entry got updated - if ($db->sql_affectedrows()) + if ($move_executed) { $sql = "UPDATE $table SET {$fields}_order = $switch_order_id |