Ticket #4770: ping-22-xmlrpc.php.diff

File ping-22-xmlrpc.php.diff, 725 bytes (added by josephscott, 5 years ago)
  • xmlrpc.php

     
    10331033 
    10341034                if(isset($content_struct["mt_allow_pings"])) { 
    10351035                        if(!is_numeric($content_struct["mt_allow_pings"])) { 
    1036                                 switch($content["mt_allow_pings"]) { 
     1036                                switch($content_struct["mt_allow_pings"]) { 
    10371037                                        case "closed": 
    10381038                                                $ping_status = "closed"; 
    10391039                                                break; 
     
    12451245 
    12461246                if(isset($content_struct["mt_allow_pings"])) { 
    12471247                        if(!is_numeric($content_struct["mt_allow_pings"])) { 
    1248                                 switch($content["mt_allow_pings"]) { 
     1248                                switch($content_struct["mt_allow_pings"]) { 
    12491249                                        case "closed": 
    12501250                                                $ping_status = "closed"; 
    12511251                                                break;