title: Warning: strtotime() expects parameter 1 to be string
body: <p>hi i am reciving this error: Warning: strtotime() expects parameter 1 to be string</p>
  
  <p>When i try to do this:</p>
  
  <pre><code>$holidays = array("2008-12-25","2008-12-26","2009-01-01");
  $today = date('Y-m-d');
  $ticketDate = date('Y-m-d',strtotime($this-&gt;getCreateDate()));
  $dayCount = $this-&gt;getWorkingDays($ticketDate,$today,$holidays);
  $dayToHour = $dayCount * 24;
  $horas=$cfg-&gt;getGracePeriod();
  print_r ($holidays);
  </code></pre>
  
  <p>i get this: <code>Array ( [0] =&gt; 2008-12-25 [1] =&gt; 2008-12-26 [2] =&gt; 2009-01-01 )</code>
  But when i replace </p>
  
  <pre><code>$holidays = array("2008-12-25","2008-12-26","2009-01-01");
  </code></pre>
  
  <p>with this:</p>
  
  <pre><code>$holidays = array($cfg-&gt;holydays());
  </code></pre>
  
  <p>i get this:</p>
  
  <pre><code>Warning: strtotime() expects parameter 1 to be string, array given in file.php on line 262
  Array ( [0] =&gt; Array ( [0] =&gt; 2012-08-21 [1] =&gt; 2012-08-20 [2] =&gt; 2012-08-10 ) )
  </code></pre>
  
  <p>Can you help me plz?</p>