summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Services/TJsonService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TJsonService.php b/framework/Web/Services/TJsonService.php
index 52997358..d3a6bbf0 100644
--- a/framework/Web/Services/TJsonService.php
+++ b/framework/Web/Services/TJsonService.php
@@ -87,7 +87,7 @@ class TJsonService extends TService
foreach($config->getElementsByTagName('json') as $json)
{
if(($id=$json->getAttribute('id'))!==null)
- $this->_services[$id]=$config;
+ $this->_services[$id]=$json;
else
throw new TConfigurationException('jsonservice_id_required');
}