Changeset 1461


Ignore:
Timestamp:
Sep 27, 2010, 6:26:08 PM (10 years ago)
Author:
goya
Message:

correction copier coller raté

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/apps/frontend/modules/solr/templates/jsonSuccess.php

    r1448 r1461  
    1010  echo "[document_type:\"".get_class($record['object'])."\",";
    1111  echo "document_id:".$record['object']->id.",";
    12   echo "document_url:\"".sfConfig('app_baseurl').url_for('@api_document?type='.get_class($record['object']).'&id='.$record['object']->id)."\"]";
     12  echo "document_url:\"".sfConfig::get('app_baseurl').url_for('@api_document?type='.$type.'&class='.get_class($record['object']).'&id='.$record['object']->id)."\"]";
    1313}
    1414?> }}<?php return;
Note: See TracChangeset for help on using the changeset viewer.