aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/relationships.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-15 18:51:45 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-15 18:51:45 -0500
commit6ee02beb269d4eac6d24d163fd8b9fbbd0bdab14 (patch)
tree85ac71cda02b856b7831c2151aae66bb2832d94f /engine/lib/relationships.php
parent947b4b042469123a98ed038cecc8301fd6494057 (diff)
downloadelgg-6ee02beb269d4eac6d24d163fd8b9fbbd0bdab14.tar.gz
elgg-6ee02beb269d4eac6d24d163fd8b9fbbd0bdab14.tar.bz2
Fixes #4090 removes double assignment - thanks to andres.fortier
Diffstat (limited to 'engine/lib/relationships.php')
-rw-r--r--engine/lib/relationships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/relationships.php b/engine/lib/relationships.php
index 929d3841d..3578f0cb8 100644
--- a/engine/lib/relationships.php
+++ b/engine/lib/relationships.php
@@ -123,7 +123,7 @@ function check_entity_relationship($guid_one, $relationship, $guid_two) {
AND relationship='$relationship'
AND guid_two=$guid_two limit 1";
- $row = $row = get_data_row($query);
+ $row = get_data_row($query);
if ($row) {
return $row;
}