From 900b948eba11edbfd9ab462629fbb0313e5068f0 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Wed, 5 Aug 2009 21:09:17 +0000 Subject: [PATCH] web: including the reciprocal-one-way-relationships-not-allowed.patch --- ...ocal-one-way-relationships-not-allowed.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 web/drupal/modules/logger/patches/reciprocal-one-way-relationships-not-allowed.patch diff --git a/web/drupal/modules/logger/patches/reciprocal-one-way-relationships-not-allowed.patch b/web/drupal/modules/logger/patches/reciprocal-one-way-relationships-not-allowed.patch new file mode 100644 index 0000000..c4bda66 --- /dev/null +++ b/web/drupal/modules/logger/patches/reciprocal-one-way-relationships-not-allowed.patch @@ -0,0 +1,17 @@ +? reciprocal-one-way-relationships-not-allowed.patch +Index: user_relationships_api.api.inc +=================================================================== +RCS file: /cvs/drupal-contrib/contributions/modules/user_relationships/user_relationships_api/Attic/user_relationships_api.api.inc,v +retrieving revision 1.1.2.15 +diff -u -p -r1.1.2.15 user_relationships_api.api.inc +--- user_relationships_api.api.inc 6 Jul 2009 15:55:04 -0000 1.1.2.15 ++++ user_relationships_api.api.inc 5 Aug 2009 21:08:00 -0000 +@@ -170,7 +170,7 @@ function user_relationships_request_rela + return FALSE; + } + +- if (!user_relationships_load(array('between' => array($requester->uid, $requestee->uid), 'rtid' => $type->rtid), array('count' => TRUE))) { ++ if (!user_relationships_load(array('requester_id' => $requester->uid, 'requestee_id' => $requestee->uid, 'rtid' => $type->rtid), array('count' => TRUE))) { + $relationship = (object)array( + 'requester_id' => $requester->uid, + 'requestee_id' => $requestee->uid,