Mercurial > defr > drupal > core
diff modules/node/node.module @ 3:165d43f946a8 6.1
Drupal 6.1
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:29:21 +0100 |
parents | c1f4ac30525a |
children | 2427550111ae |
line wrap: on
line diff
--- a/modules/node/node.module Tue Dec 23 14:28:28 2008 +0100 +++ b/modules/node/node.module Tue Dec 23 14:29:21 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: node.module,v 1.947.2.2 2008/02/13 14:10:22 goba Exp $ +// $Id: node.module,v 1.947.2.3 2008/02/27 17:12:58 goba Exp $ /** * @file @@ -716,7 +716,7 @@ elseif (is_array($param)) { // Turn the conditions into a query. foreach ($param as $key => $value) { - $cond[] = 'n.'. db_escape_string($key) ." = '%s'"; + $cond[] = 'n.'. db_escape_table($key) ." = '%s'"; $arguments[] = $value; } $cond = implode(' AND ', $cond);