PHP Classes

error

Recommend this page to a friend!

      Separated Template  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:Change $val -- > $value
Messages:2
Author:John Guerin
Date:2009-07-05 22:38:50
Update:2009-07-05 23:21:08
 

  1. error   Reply   Report abuse  
Picture of John Guerin John Guerin - 2009-07-05 22:38:50
Change needed here ... in template.class

$content = preg_replace(
'#\<(.*?) class=(\'|\"){1}' . $key . '(\s?)(.*?)\>(.*?)\</(.*?)\>#i',
'<\\1 class=\\2' . $key . '\\3\\4>\\5' . $value . '</\\6>',
$content
);

  2. Re: error   Reply   Report abuse  
Picture of Sebastian Potasiak Sebastian Potasiak - 2009-07-05 23:21:08 - In reply to message 1 from John Guerin
Thanks, changed. It was "version mismatch".