Index: trunk/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php |
— | — | @@ -450,7 +450,7 @@ |
451 | 451 | curl_setopt( $this->m_curlhandle, CURLOPT_URL, $this->m_queryEndpoint ); |
452 | 452 | curl_setopt( $this->m_curlhandle, CURLOPT_POST, true ); |
453 | 453 | $parameterString = "query=" . urlencode( $sparql ) . |
454 | | - ( ( $this->m_defaultGraph != '' )? 'default-graph-uri=' . urlencode( $this->m_defaultGraph ) : '' ); |
| 454 | + ( ( $this->m_defaultGraph != '' )? '&default-graph-uri=' . urlencode( $this->m_defaultGraph ) : '' ); |
455 | 455 | curl_setopt( $this->m_curlhandle, CURLOPT_POSTFIELDS, $parameterString ); |
456 | 456 | |
457 | 457 | $xmlResult = curl_exec( $this->m_curlhandle ); |