diff --git a/app/controllers/oer/market.php b/app/controllers/oer/market.php index d1138fbd13e31605eb6ef5c6ddf9924dd98ec9ba..687551763f973e2e3e0155092fd9bbfc5dfbfee3 100644 --- a/app/controllers/oer/market.php +++ b/app/controllers/oer/market.php @@ -59,7 +59,7 @@ class Oer_MarketController extends StudipController } $this->new_ones = OERMaterial::findBySQL("LEFT JOIN oer_hosts ON (oer_hosts.host_id = oer_material.host_id) WHERE draft = '0' - AND (oer_material.host_id IS NULL OR oer_hosts.`active` = '1') + AND oer_material.host_id IS NULL ORDER BY mkdate DESC LIMIT 9"); $statement = DBManager::get()->prepare("