--- pathauto_node.inc_org_20070206	2007-02-06 02:31:42.000000000 +0800
+++ pathauto_node.inc	2007-03-28 18:35:09.093750000 +0800
@@ -199,6 +199,13 @@ function node_get_placeholders($node) {
        // It's not freetagging
        // When editing a node, a multiselect vocabulary with nothing selected will have  "zero"
        // term IDs. Ignore them...
+       elseif (is_object($value)) {
+         $temptid = $value->tid;
+         if ($temptid) {
+           $first_term_id = $temptid;
+           break;
+         }
+       }
        elseif (is_array($value)) {
          $temptid = array_shift($value);
          if ($temptid) {
