fix scrunitizer

This commit is contained in:
florian HENRY 2019-05-18 15:46:49 +02:00
parent f1aad766ca
commit c519906c9e

View File

@ -842,6 +842,8 @@ class Dolresource extends CommonObject
*/
public function getElementResources($element, $element_id, $resource_type = '')
{
$resources=array();
// Links beetween objects are stored in this table
$sql = 'SELECT rowid, resource_id, resource_type, busy, mandatory';
$sql.= ' FROM '.MAIN_DB_PREFIX.'element_resources';