Question: I have this query:

```
SELECT queue.first_dealer, queue.second_dealer, queue.status
FROM queue
WHERE queue.status = 3
AND queue.first_dealer = $user_id
OR queue.second_dealer = $user_id
AND queue.status = 3
ORDER BY id DESC
LIMIT 5

```

But sometimes the first\_dealer or the second\_dealer can be the same, I want to skip to the next records if they are the same.

Answer: 
this is the Line you have to comment out:

```
 var JTooltips = new Tips($$('.hasTip'), { maxTitleChars: 50....

```

Joomla 2.5 /libraries/joomla/html/\*/behavior.php 
Line xxx comment it out

Joomla 3.x /libraries/cms/html/behavior.php
Line 287 comment it out
```
$doc->_script = preg_replace('window\.addEvent\(\'domready\',\s*function\(\)\s*{\s*\$\$\(\'.hasTip\'\).each\(function\(el\)\s*{\s*var\s*title\s*=\s*el.get\(\'title\'\);\s*if\s*\(title\)\s*{\s*var\s*parts\s*=\s*title.split\(\'::\',\s*2\);\s*el.store\(\'tip:title\',\s*parts\[0\]\);\s*el.store\(\'tip:text\',\s*parts\[1\]\);\s*}\s*}\);\s*var\s*JTooltips\s*=\s*new\s*Tips\(\$\$\(\'.hasTip\'\),\s*{\s*maxTitleChars:\s*50,\s*fixed:\s*false}\);\s*}\);', '', $doc->_script);

```