Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
/**
* Implements hook_field_widget_form_alter().
*/
function YOUR_MODULE_NAME_field_widget_form_alter(&$element, &$form_state, $context)
{
if( !isset( $element['#theme'] ) || $element['#theme']!== 'entityreference_view_widget_widget' ) return ;
// change target element from '#field_suffix' to '#title'
$index = 0;
while( isset($element[$index] ) ){
if( isset( $element[$index]['target_id']['#field_suffix'] ) ){
$title = $element[$index]['target_id']['#field_suffix'] ;
unset( $element[$index]['target_id']['#field_suffix'] ) ;
$element[$index]['target_id']['#title'] = $title ;
}
$index ++ ;
}
}
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |
Warning: array_flip(): Can only flip STRING and INTEGER values! DrupalDefaultEntityController->load() (C:\develop\sources\php\2drills-d7\includes\entity.inc ファイル 175行).
// 元のソース $passed_ids = !empty($ids) ? array_flip($ids) : FALSE; // 修正したソース $passed_ids = !empty($ids) && is_array($ids) && ( is_string(current($ids) || is_int( current($ids) ) ) ) ? array_flip($ids) : FALSE;
| 添付 | サイズ |
|---|---|
| view_widget_custom.zip (2.03 KB) | 2.03 KB |