https://www.mediawiki.org/wiki/Special:Code/MediaWiki/103343

Revision: 103343
Author:   yaron
Date:     2011-11-16 17:56:20 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
Fix for autocompleting on URL properties, thanks to FlooD

Modified Paths:
--------------
    trunk/extensions/SemanticForms/includes/SF_Utils.php

Modified: trunk/extensions/SemanticForms/includes/SF_Utils.php
===================================================================
--- trunk/extensions/SemanticForms/includes/SF_Utils.php        2011-11-16 
17:28:54 UTC (rev 103342)
+++ trunk/extensions/SemanticForms/includes/SF_Utils.php        2011-11-16 
17:56:20 UTC (rev 103343)
@@ -85,7 +85,7 @@
                        $values = array();
                        foreach ( $res as $value ) {
                                if ( $value instanceof SMWDIUri ) {
-                                       $values[] = $value->getFragment();
+                                       $values[] = $value->getURI();
                                } else {
                                        // getSortKey() seems to return the
                                        // correct value for all the other


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to