diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index b58d9dcb99984f5a6741202b4c81ab2c8ac58c76..37a4b315d5ce3b6ed540e9af9d3d41de03f1c9aa 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -331,13 +331,12 @@ function _phptemplate_default($hook, $variables, $file = NULL) {
   }
 
   if ($file) {
-    unset($variables['file']);     // Make sure we don't override $file
-    extract($variables);           // Extract the vars to local namespace
-    ob_start();                    // Start output buffering
-    include($file);                // Include the file
-    $contents = ob_get_contents(); // Get the contents of the buffer
-    ob_end_clean();                // End buffering and discard
-    return $contents;              // Return the contents
+    extract($variables, EXTR_SKIP);  // Extract the vars to local namespace
+    ob_start();                      // Start output buffering
+    include($file);                  // Include the file
+    $contents = ob_get_contents();   // Get the contents of the buffer
+    ob_end_clean();                  // End buffering and discard
+    return $contents;                // Return the contents
   }
 
 }