Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292064

views_plugin_query_default::ensure_table may return false instead of just a string or NULL.

$
0
0

API page: http://api.drupal.org/api/views/plugins!views_plugin_query_default.inc/function/views_plugin_query_default%3A%3Aensure_table/7

The documentation declares the following:

Return value
The alias used to refer to this specific table, or NULL if the table cannot be ensured.

In fact, if you look at the 3rd if statement, you see:

<?php
if (!array_key_exists($relationship, $this->relationships)) {
    return
FALSE;
  }
?>

Viewing all articles
Browse latest Browse all 292064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>