Hacker News new | ask | show | jobs
by blueicelt2004 4411 days ago
I like this but just something small, in api.php at line 341/345 you check if $table is articles and inside the same ifcheck you check again, the same thing is done at 412/416

		} else if ($table=="articles") {
			if (empty($data->article_id)) {
				$this->data_object->send_response(400);
			} else {
				if ($table=="articles") {
1 comments

Didn't spot that, will take a look, thanks!