deprecated php methods

This commit is contained in:
Tony Landis
2009-03-25 22:10:40 -06:00
parent d1547673dc
commit 1225cb10c0
12 changed files with 22 additions and 22 deletions

View File

@@ -233,9 +233,9 @@ class pdf_invoice_overview extends pdf_invoice_base
# Draw attributes if they are present
if (strlen($line['attr'])) {
$atrs = split("\r\n", str_replace('\r\n',"\r\n",$line['attr']));
$atrs = preg_split("/\r\n/", str_replace('\r\n',"\r\n",$line['attr']));
foreach ($atrs as $a) {
$parts = split("==", $a);
$parts = preg_split("/==/", $a);
switch ($parts[0]) {
default:
if(strlen($parts[0]))