Closed jaseemabid closed 12 years ago
Accessing '/json/video.json.php?video=...' with an invalid video id is returning wrong info. Eg :
For cid 1900, It returns
{ cid: "1900", title: null, desc: null, tags: [ ], timestamp: null, viewcount: null, status: null, path: "//1900.ogv", poster: "/thumbs/1900.png", likestatus: 0, sid: null, sname: null, order: null, uid: null, uname: null }
It should have been ideally null in every field.
Fixed. All fields in JSON will be NULL if the content is not present. Commit: fe334babcd
Works fine :)
Accessing '/json/video.json.php?video=...' with an invalid video id is returning wrong info. Eg :
For cid 1900, It returns
It should have been ideally null in every field.