Fixed missing require() on math.php in SpecialUserFuncs
authorDan
Mon, 07 Jul 2008 02:49:54 -0400
changeset 604 6a90893622f0
parent 603 33b274c8d357
child 605 d2d4e40ecd29
Fixed missing require() on math.php in SpecialUserFuncs
plugins/SpecialUserFuncs.php
--- a/plugins/SpecialUserFuncs.php	Mon Jul 07 02:49:26 2008 -0400
+++ b/plugins/SpecialUserFuncs.php	Mon Jul 07 02:49:54 2008 -0400
@@ -435,6 +435,8 @@
   global $db, $session, $paths, $template, $plugins; // Common objects
   global $__login_status;
   global $lang;
+  require_once( ENANO_ROOT . '/includes/math.php' );
+  
   if ( $paths->getParam(0) === 'action.json' )
   {
     if ( !isset($_POST['r']) )