title: rand() expects parameter 1 to be long, string given
body: <p>I get the error:</p>
  
  <blockquote>
    <p>rand() expects parameter 1 to be long, string given </p>
  </blockquote>
  
  <p>PHP code:</p>
  
  <pre><code> // Set global last updated time
   $ab_options['lastupdate'] = time();
   ab_saveOptions();
  
   $this-&gt;ab_logMsg('Setting last update time to '.date("g:i a", $ab_options['lastupdate']), AB_LOG_INFO + AB_LOG_ONLY, 'debug');
   set_transient('Auto_LastRun', time(), 3600);
   set_transient('Auto_Interval', rand($ab_options['mintime'], $ab_options['maxtime']), 86400);
  </code></pre>