You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second time $access is checked, it is surely TRUE, or the previous lines would have returned an empty array. Since $access is not changed after the first time it is checked, there is no need to check it again.
The text was updated successfully, but these errors were encountered:
avpaderno
changed the title
core/modules/dashboard/includes/block.node_types.inc check twice if $access is TRUE
core/modules/dashboard/includes/block.node_types.inc checks twice if $access is TRUE
Aug 21, 2024
The core/modules/dashboard/includes/block.node_types.inc file contains the following code.
The second time
$access
is checked, it is surelyTRUE
, or the previous lines would have returned an empty array. Since$access
is not changed after the first time it is checked, there is no need to check it again.The text was updated successfully, but these errors were encountered: