There was a security update that I think shifted around the line numbers. I can confirm that this little patch seems to work all right, but it is now located around line 622 as so:
622 } else {
623 if (!($post_category)) {
624 $post_category[] = 1;
625 }
626 }