]> git.sur5r.net Git - contagged/commitdiff
fix for phone search (lokk in mobile numbers, too)
authorAndreas Gohr <gohr@cosmocode.de>
Wed, 27 Jun 2007 12:10:46 +0000 (14:10 +0200)
committerAndreas Gohr <gohr@cosmocode.de>
Wed, 27 Jun 2007 12:10:46 +0000 (14:10 +0200)
darcs-hash:20070627121046-6e07b-874715b88b9b4b033999be0baad10c3cc33d9d45.gz

index.php

index 26c591204e3374081264d153b2a7abca04131ce3..33e7e9c0ce72bf1ec157f4250e7319d99c6c1038 100644 (file)
--- a/index.php
+++ b/index.php
                                 '('.$FIELDS['phone'].'='.$filter.')'.
                                 '('.$FIELDS['homephone'].'='.$filter.')'.
                             ')'.
-                            '('.$FIELDS['homephone'].'='.$filter.')'.
+                            '('.$FIELDS['mobile'].'='.$filter.')'.
                         ')'.
                     ')';
     }elseif(!empty($search)){