Index: forward.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/forward/forward.module,v
retrieving revision 1.55.2.17
diff -u -r1.55.2.17 forward.module
--- forward.module	16 Mar 2009 15:08:13 -0000	1.55.2.17
+++ forward.module	3 Apr 2009 23:02:18 -0000
@@ -339,11 +339,19 @@
   //print '<pre>'.print_r(menu_get_menu(),1).'</pre>'; exit;
   $nid = NULL;
 
-  if (!empty($_GET['path'])) {
-    $path = drupal_get_normal_path($_GET['path']);
-    $ret = preg_match("/^node\/(.*)/i", $path, $matches);
-    if ($ret == 1) {
-      $nid = $matches[1];
+  if (!empty($_GET['q'])) {
+    $args = explode('/', $_GET['q']);
+    unset($args[0]);
+    if (is_numeric($args[0])) {
+    	$nid = $args[0];
+    }
+    else {
+      $path_alias = implode('/', $args);
+      $path = drupal_get_normal_path($path_alias);
+      $ret = preg_match("/^node\/(.*)/i", $path, $matches);
+      if ($ret == 1) {
+        $nid = $matches[1];
+      }
     }
   }
   if (is_numeric($nid)) {

