From 8982d5f876ad84336ca99eda7b3e880dcdd76224 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 21 Oct 2013 12:23:43 +1300 Subject: [PATCH] Drupal user fns - colemans' code --- CRM/Utils/System/Drupal6.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Utils/System/Drupal6.php b/CRM/Utils/System/Drupal6.php index 47e4b36113..0c9f8bdffe 100644 --- a/CRM/Utils/System/Drupal6.php +++ b/CRM/Utils/System/Drupal6.php @@ -176,11 +176,11 @@ class CRM_Utils_System_Drupal6 extends CRM_Utils_System_DrupalBase { "; $result = db_query($sql); - $rows = db_fetch_array($result); - if (!$rows) { + $row = db_fetch_array($result); + if (!$row) { return; } - $row = $rows[0]; + $user = NULL; if (!empty($row)) { -- 2.25.1