Index: potx.info
===================================================================
--- potx.info	(revision 870)
+++ potx.info	(working copy)
@@ -1,4 +1,5 @@
-; $Id: potx.info,v 1.1.2.4 2007/11/12 20:17:18 goba Exp $
 name = Translation template extractor
 description = Provides a web interface and an API to extract translatable text from the sources of installed components.
 dependencies = locale
+
+
Index: potx.module
===================================================================
--- potx.module	(revision 870)
+++ potx.module	(working copy)
@@ -88,6 +88,10 @@
  * Validation handler for potx module selection form.
  */
 function potx_select_form_validate($form_id, $form) {
+  if (!function_exists('token_get_all')) {
+    form_set_error('', t('!tokenizer_link are required.',
+                         array('!tokenizer_link' => l(t('PHP tokenizer functions'), "http://us.php.net/manual/en/ref.tokenizer.php"))));
+  }
   if (empty($form['module'])) {
     form_set_error('', t('You should select a module to export.'));
   }
