[emt] r239 committed - Adding limit argument to sub_field parsing so that sub_fields with a d...

0 views
Skip to first unread message

e...@googlecode.com

unread,
Apr 12, 2012, 3:56:16 PM4/12/12
to emt...@googlegroups.com
Revision: 239
Author: kwayman
Date: Thu Apr 12 12:56:04 2012
Log: Adding limit argument to sub_field parsing so that sub_fields
with a dot (.)
in them will be parsed correctly.

http://code.google.com/p/emt/source/detail?r=239

Modified:
/trunk/base/view.php

=======================================
--- /trunk/base/view.php Thu Jan 12 15:31:08 2012
+++ /trunk/base/view.php Thu Apr 12 12:56:04 2012
@@ -404,7 +404,7 @@

if (strstr($str, "."))
{
- list ($field, $sub_field) = preg_split('/\./', $str);
+ list ($field, $sub_field) = preg_split('/\./', $str, 2);


if (in_array($field, $this->fields) === FALSE)

Reply all
Reply to author
Forward
0 new messages