Skip to content
Browse files

Revert a preg_replace()

  • Loading branch information...
1 parent 9edcacd commit ea6cbe026b73be13dd853d710b9609e3faf50f44 @narfbg narfbg committed Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/database/DB_driver.php
View
2 system/database/DB_driver.php
@@ -1263,7 +1263,7 @@ function _protect_identifiers($item, $prefix_single = FALSE, $protect_identifier
}
// Convert tabs or multiple spaces into single spaces
- $item = preg_replace('/\s+/', ' ', $item);
+ $item = preg_replace('/[\t ]+/', ' ', $item);
// If the item has an alias declaration we remove it and set it aside.
// Basically we remove everything to the right of the first space

0 comments on commit ea6cbe0

Please sign in to comment.
Something went wrong with that request. Please try again.