Nucleus Core

Login!
Register as a new userLost password?

for Project:

This is the tracker for the Core of the Nucleus CMS-project (Nucleus CMS Website)

FS#121 — backup problems when $plugin->getTableList() doesn't return an array

Attached to Project— Nucleus Core
Opened by Wouter Demuynck (karma) - Monday, 24 October 2005, 08:11PM
Last edited by Wouter Demuynck (karma) - Saturday, 12 November 2005, 06:41PM
Bug
Various
Requires testing
Wouter Demuynck
All
Medium
Normal
CVS
Undecided
Undecided
90%
This task depends upon

This task blocks these from closing
Comment by Wouter Demuynck (karma) - Saturday, 12 November 2005, 06:41PM

Added a cast to array to the result of getTableList, to prevent 'bad' plugins from breaking the backup:

if ($plug) $tables = array_merge($tables, (array) $plug->getTableList());