Commit 2b5aafbcbc977a5d006bc682161afc497793cd41
1 parent
ff8fec50
Exists in
master
Valitions csv file
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
modules/default/controllers/ContactsController.php
... | ... | @@ -374,7 +374,7 @@ class ContactsController extends Zend_Controller_Action { |
374 | 374 | $line = fgets($handle, 4096); |
375 | 375 | if (strpos($line, ",")) { |
376 | 376 | |
377 | - $row = explode(",", preg_replace("/[^a-zA-Z0-9éúíóáÉÚÍÓÁèùìòàÈÙÌÒÀõãñÕÃÑêûîôâÊÛÎÔÂëÿüïöäËYÜÏÖÄ,\._\*#]/", "", $line)); | |
377 | + $row = explode(",", preg_replace("/[^a-zA-Z0-9 éúíóáÉÚÍÓÁèùìòàÈÙÌÒÀõãñÕÃÑêûîôâÊÛÎÔÂëÿüïöäËYÜÏÖÄ,\._\*#]/", "", $line)); | |
378 | 378 | |
379 | 379 | if (count($row) != $column_count) { |
380 | 380 | throw new ErrorException($this->view->translate("Invalid column count on line %d", $row_number)); | ... | ... |