| 1 | Index: xmlrpc.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- xmlrpc.php (revision 5899) |
|---|
| 4 | +++ xmlrpc.php (working copy) |
|---|
| 5 | @@ -1033,7 +1033,7 @@ |
|---|
| 6 | |
|---|
| 7 | if(isset($content_struct["mt_allow_pings"])) { |
|---|
| 8 | if(!is_numeric($content_struct["mt_allow_pings"])) { |
|---|
| 9 | - switch($content["mt_allow_pings"]) { |
|---|
| 10 | + switch($content_struct["mt_allow_pings"]) { |
|---|
| 11 | case "closed": |
|---|
| 12 | $ping_status = "closed"; |
|---|
| 13 | break; |
|---|
| 14 | @@ -1245,7 +1245,7 @@ |
|---|
| 15 | |
|---|
| 16 | if(isset($content_struct["mt_allow_pings"])) { |
|---|
| 17 | if(!is_numeric($content_struct["mt_allow_pings"])) { |
|---|
| 18 | - switch($content["mt_allow_pings"]) { |
|---|
| 19 | + switch($content_struct["mt_allow_pings"]) { |
|---|
| 20 | case "closed": |
|---|
| 21 | $ping_status = "closed"; |
|---|
| 22 | break; |
|---|