aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-15 18:51:45 -0500
committercash <cash.costello@gmail.com>2011-11-16 19:53:04 -0500
commit047d2831297ee9d80b7d317c6fe3be217e5944ed (patch)
tree0262bcd178b640436f8070ee0bf630ad01c8f415
parent8e42067de6eb91a231493a14185a203abbb5dc2c (diff)
downloadelgg-047d2831297ee9d80b7d317c6fe3be217e5944ed.tar.gz
elgg-047d2831297ee9d80b7d317c6fe3be217e5944ed.tar.bz2
Fixes #4090 removes double assignment - thanks to andres.fortier
-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;
}