Index: url_alter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/url_alter/url_alter.module,v
retrieving revision 1.6
diff -u -p -r1.6 url_alter.module
--- url_alter.module	24 Jul 2009 23:20:13 -0000	1.6
+++ url_alter.module	4 Aug 2009 21:58:55 -0000
@@ -69,7 +69,7 @@ if (!function_exists('custom_url_rewrite
  * Implementation of hook_url_alter_inbound().
  */
 function url_alter_url_alter_inbound(&$result, $path, $path_language) {
-  if ($code = url_alter_var('inbound') && !isset($_GET['url-alter-kill'])) {
+  if ($code = url_alter_var('inbound') and !isset($_GET['url-alter-kill'])) {
     // We can not use drupal_eval() here since we need to be able to modify
     // the $result parameter.
     eval($code);
@@ -96,7 +96,7 @@ if (!function_exists('custom_url_rewrite
  * Implementation of hook_url_alter_outbound().
  */
 function url_alter_url_alter_outbound(&$path, &$options, $original_path) {
-  if ($code = url_alter_var('outbound') && !isset($_GET['url-alter-kill'])) {
+  if ($code = url_alter_var('outbound') and !isset($_GET['url-alter-kill'])) {
     // We can not use drupal_eval() here since we need to be able to modify
     // the $path and $options parameters.
     eval($code);
