openscholar/openscholar — pull request #5906 by sedroca (2014-04-20 01:36:24+00:00)
Title: Check for no data condition in os_files_update_7010 and 7011

Issue #5898 is related to a divide by zero error in the case where a user has no file descriptions in os_files_update_7010. The fix checks for the no data condition and return immediately if indeed there is no data. As the same divide by zero error was possible in os_files_update_7011 (but for Media Titles in this case) the same fix is applied to it.