Replace lowercase operators

This commit is contained in:
Hypolite Petovan 2017-06-08 21:03:44 -04:00
parent 98d1051583
commit ad4cdf2a9d
24 changed files with 80 additions and 80 deletions

View file

@ -512,7 +512,7 @@ class NotificationsManager {
$myurl = substr($myurl,strpos($myurl,'://')+3);
$myurl = str_replace(array('www.','.'),array('','\\.'),$myurl);
$diasp_url = str_replace('/profile/','/u/',$myurl);
$sql_extra = sprintf(" AND ( `item`.`author-link` regexp '%s' or `item`.`tag` regexp '%s' or `item`.`tag` regexp '%s' ) ",
$sql_extra = sprintf(" AND ( `item`.`author-link` regexp '%s' OR `item`.`tag` regexp '%s' OR `item`.`tag` regexp '%s' ) ",
dbesc($myurl . '$'),
dbesc($myurl . '\\]'),
dbesc($diasp_url . '\\]')
@ -829,11 +829,11 @@ class NotificationsManager {
}
/**
* @brief Check for missing contact data and try to fetch the data from
* @brief Check for missing contact data and try to fetch the data from
* from other sources
*
*
* @param array $arr The input array with the intro data
*
*
* @return array The array with the intro data
*/
private function getMissingIntroData($arr) {