Show
Ignore:
Timestamp:
08/20/07 18:18:46 (1 year ago)
Author:
ryan
Message:

mt_allow_pings fix. Props Joseph Scott and Allan Odgaard. fixes #4770 for 2.2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/xmlrpc.php

    r5730 r5905  
    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"; 
     
    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";