Index: potx.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/potx/Attic/potx.module,v
retrieving revision 1.1.2.15.2.1
diff -u -p -r1.1.2.15.2.1 potx.module
--- potx.module	31 Jan 2008 14:35:06 -0000	1.1.2.15.2.1
+++ potx.module	4 Mar 2008 03:54:40 -0000
@@ -88,6 +88,11 @@ function potx_select_form() {
  * 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://php.net/tokenizer')
+    )));
+  }
   if (empty($form['module'])) {
     form_set_error('', t('You should select a module to export.'));
   }
