[dev] patch for parse error in sources.php

Rick Emery rick at emery.homelinux.net
Mon Jul 7 08:59:01 PDT 2003


I'm not sure if this is what was intended, but this patch fixed (for me)
some errors I was getting in turba/config/sources.php (first a parse
error, then an undefined index error). Before this change, I had this
section of code commented out, so I don't use it. I can't say whether it
works or not, but I know it eliminated my errors. The patch is to
sources.php.dist

Thanks,
Rick

P.S. I hope the patch comes through OK. I created it on my Linux box, used
gollem to download it to a Windows box, and sent it from there. If it
doesn't come through, let me know and I'll resend it from my Linux box.

-------------- next part --------------
Index: sources.php.dist
===================================================================
RCS file: /repository/turba/config/sources.php.dist,v
retrieving revision 1.60
diff -r1.60 sources.php.dist
254c254
< if (preg_match('/(^.*)@/', $uid, $matches);
---
> if (preg_match('/(^.*)@/', $uid, $matches))
256c256
< }
---
> 


More information about the dev mailing list