Index: potx.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.module,v retrieving revision 1.1.2.12.2.2.2.8 diff -u -r1.1.2.12.2.2.2.8 potx.module --- potx.module 19 Oct 2008 22:07:50 -0000 1.1.2.12.2.2.2.8 +++ potx.module 22 Oct 2008 15:27:24 -0000 @@ -114,7 +114,7 @@ if (isset($pathinfo['extension'])) { // A specific module or theme file was requested (otherwise there should be no extension). - $filename = preg_replace('!^(.+)'. preg_quote($pathinfo['extension'], '!') .'$!', '\1', $pathinfo['basename']); + $filename = preg_replace('!^(.+)\.'. preg_quote($pathinfo['extension'], '!') .'$!', '\1', $pathinfo['basename']); $files = _potx_explore_dir($pathinfo['dirname'] .'/', $filename); $strip_prefix = 1 + strlen($pathinfo['dirname']); $outputname = $filename;