Subversion Repositories eFlore/Applications.cel

Rev

Rev 3822 | Rev 3906 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3822 Rev 3905
Line 1079... Line 1079...
1079
                    }
1079
                    }
1080
                }
1080
                }
1081
                $sql = implode($clauses, ' OR ');
1081
                $sql = implode($clauses, ' OR ');
1082
            } else {
1082
            } else {
1083
                // simple
1083
                // simple
1084
                $sql = 'co.mots_cles_texte LIKE '.Cel::db()->proteger('%'.$projet.'%');
1084
                $sql = 'co.programme =  "'.Cel::db()->proteger($projet).' OR co.mots_cles_texte LIKE '.Cel::db()->proteger('%'.$projet.'%');
1085
            }
1085
            }
1086
        }
1086
        }
1087
        return $sql;
1087
        return $sql;
1088
    }
1088
    }