diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index afa6b70a5dac53621ed32c7f1bf697bee4bbd126..64b788747e39ff3c4b6d77329ac0c1340c0625de 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -183,7 +183,7 @@ function drupal_client_ping($client, $system) { */ if ($client['link'] && $client['name'] && $client['mail'] && $client['slogan'] && $client['mission']) { - $result = db_query(db_rewrite_sql("SELECT cid FROM {client} WHERE link = '%s'"), $client['link']); + $result = db_query("SELECT cid FROM {client} WHERE link = '%s'", $client['link']); if (db_num_rows($result)) { $record = db_fetch_object($result); $client['cid'] = $record->cid;