it could be just  `if (!$order) {`