
tom - 2012-08-30 22:47:51
Lines like
list($codekey, $codevalue) = explode(":",$code);
spit a warning when the explode doesn't create enough variables.
Easy fix: append '+ array(null,null)'
e.g.
list($codekey, $codevalue) = explode(":",$code) + array(null,null);