Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
|
@ -52,7 +52,7 @@ class Error {
|
|||
// The first element in the stack is the call, the second element gives us
|
||||
// the caller. We skip calls that occurred in one of the classes of the
|
||||
// database layer or in one of its global functions.
|
||||
$db_functions = array('db_query', 'db_query_range');
|
||||
$db_functions = array('db_query', 'db_query_range');
|
||||
while (!empty($backtrace[1]) && ($caller = $backtrace[1]) &&
|
||||
((isset($caller['class']) && (strpos($caller['class'], 'Query') !== FALSE || strpos($caller['class'], 'Database') !== FALSE || strpos($caller['class'], 'PDO') !== FALSE)) ||
|
||||
in_array($caller['function'], $db_functions))) {
|
||||
|
|
Reference in a new issue