Plugin Directory

Changeset 1378254


Ignore:
Timestamp:
03/24/2016 08:25:10 PM (10 years ago)
Author:
solidearth
Message:

fixing agent listing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • solid-earth-spring-api/trunk/shortcode.php

    r1268955 r1378254  
    482482
    483483function SPRINGAPIWP_agent_render ( $atts, $content, $sc ) {
    484   $data = SPRINGAPIWP_get_data('agent_settings');
     484  $data = SPRINGAPIWP_get_data('agentpage_settings');
    485485
    486486  $key = $data['api_key'];
     
    494494  $results = array();
    495495
    496   array_push($results, SPRINGAPIWP_agent_listing($key, $name, false));
     496  array_push($results, SPRINGAPIWP_agent_listing($key, $name, false, $siteValue));
    497497
    498498  if(isset($results[0][0])) {
Note: See TracChangeset for help on using the changeset viewer.