Skip to content

Commit 8b298b7

Browse files
fix: correct indentation in notify_lists.php and pin setup-php SHA
- Restore 3-tab indentation for safe_notify_action and drp_action block - Pin shivammathur/setup-php to full commit SHA Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
1 parent 5547e98 commit 8b298b7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
8-
- uses: shivammathur/setup-php@v2
8+
- uses: shivammathur/setup-php@728c6c6b8cf02c2e48117716a91ee48313958a19 # v2
99
with: {php-version: '8.4', coverage: xdebug}
1010
- run: composer install --no-interaction
1111
- run: vendor/bin/pest --coverage

notify_lists.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ function form_actions() {
239239
if ($selected_items != false) {
240240
get_filter_request_var('notification_action');
241241

242-
$safe_id = intval(get_request_var('id'));
243-
$safe_notify_action = intval(get_request_var('notification_action'));
242+
$safe_id = intval(get_request_var('id'));
243+
$safe_notify_action = intval(get_request_var('notification_action'));
244244

245-
if (get_request_var('drp_action') == '1') { // associate
245+
if (get_request_var('drp_action') == '1') { // associate
246246
for ($i = 0; ($i < count($selected_items)); $i++) {
247247
$safe_item = intval($selected_items[$i]);
248248

0 commit comments

Comments
 (0)