https://bugzilla.wikimedia.org/show_bug.cgi?id=31151

Thibault Taillandier <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Thibault Taillandier <[email protected]> ---
Hi,

I would like to confirm this bug. I encountered it also.

My versions :
- Semantic MediaWiki (version 1.8.0.4)
- MediaWiki    1.20.3
- PHP    5.3.3-7+squeeze14 (apache2handler)
- MySQL    5.1.61-0+squeeze1

I found a patch, here is how to apply it :

- open file :
extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php
(line 549)

Change this line : 
<code>
      case SMW_CMP_NEQ: $comp = '!='; break
</code>

by this one :
<code>
      case SMW_CMP_NEQ: $comp = '!='; $value =  str_replace( '_' , ' ' , $value
); break;
</code>

This patch works fine for me. I hope it will help others, but i did not test it
anywhere else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to