diff --git a/t3lib/class.t3lib_tstemplate.php b/t3lib/class.t3lib_tstemplate.php
index f3e739a5fc30cad9ac5e8d76f613d46cb9a77bab..598caa3fa7c56d4938f52ee1d19ef98af0547aa0 100644
--- a/t3lib/class.t3lib_tstemplate.php
+++ b/t3lib/class.t3lib_tstemplate.php
@@ -666,8 +666,8 @@ class t3lib_TStemplate {
 					'uid' => $mExtKey
 				);
 				$subrow = $this->prependStaticExtra($subrow);
+				$this->processTemplate($subrow, $idList . ',ext_' . $mExtKey, $pid, 'ext_' . $mExtKey, $templateID);
 			}
-			$this->processTemplate($subrow, $idList . ',ext_' . $mExtKey, $pid, 'ext_' . $mExtKey, $templateID);
 		}
 	}