mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Fixes #3311 2.1.8 > 2.1.9 notice.
This commit is contained in:
parent
a2798b096f
commit
37dd8b1a7d
@ -567,6 +567,7 @@ function update_core_database($type = '')
|
||||
function update_218_to_219($type='')
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
$just_check = ($type == 'do') ? false : true;
|
||||
|
||||
// add common video and audio media categories if missing.
|
||||
$count = $sql->select("core_media_cat","*","media_cat_category = '_common_video' LIMIT 1 ");
|
||||
@ -579,6 +580,8 @@ function update_core_database($type = '')
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $just_check;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user