PHP Classes

There is an error on like 86: $this->addCron($ct[0], $ct[1], ...

Recommend this page to a friend!

      cjpa's Crontab Class  >  All threads  >  There is an error on like 86:...  >  (Un) Subscribe thread alerts  
Subject:There is an error on like 86:...
Summary:Package rating comment
Messages:1
Author:Carl Carlson
Date:2009-12-09 23:55:25
 

Carl Carlson rated this package as follows:

Utility: Good
Consistency: Good
Documentation: Sufficient

  1. There is an error on like 86:...   Reply   Report abuse  
Picture of Carl Carlson Carl Carlson - 2009-12-09 23:55:25
There is an error on like 86:
$this->addCron($ct[0], $ct[1], $ct[2], $ct[3], $ct[4], $ct[5], $ct[6]);
remove $ct[6], as it does not exist. The author missed the 0 index. The addCron function is only looking for 6 arguments, this is attempting to pass 7.