Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php |
— | — | @@ -73,8 +73,8 @@ |
74 | 74 | // Create links to mapping services based on a wiki-editable message. The parameters |
75 | 75 | // available to the message are: |
76 | 76 | // $1: urlencoded string |
77 | | - if ($this->m_typeid == '_str') { |
78 | | - return false; // no services for Type:Text |
| 77 | + if ($this->m_typeid != '_str') { |
| 78 | + return false; // no services for Type:Text and Type:Code |
79 | 79 | } else { |
80 | 80 | return array(rawurlencode($this->m_value)); |
81 | 81 | } |