Skip to content

Commit

Permalink
switched over to using fatfree-core directly
Browse files Browse the repository at this point in the history
  • Loading branch information
blakewatson committed Feb 12, 2024
1 parent 62801f5 commit d185a8c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 36 deletions.
6 changes: 3 additions & 3 deletions protected/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"require": {
"bcosca/fatfree": "^3.8"
}
"require": {
"bcosca/fatfree-core": "^3.8"
}
}
32 changes: 1 addition & 31 deletions protected/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions protected/src/Bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function($session){
);

// Capture errors in memory
$f3->set('v_errors', json_decode($f3->get('SESSION.errors')) ? : array());
$f3->set('v_errors', $f3->get('SESSION.errors') ? json_decode($f3->get('SESSION.errors')) : array());
// Creating v_errors_element_ids, simply for ease of checking quickly if there are any
// errors, especially for use in the template files.
$f3->set('v_errors_element_ids', array());
Expand All @@ -119,7 +119,7 @@ function($session){
}
$f3->set('v_errors_element_ids', array_unique($element_ids));
// Capture confirmations in memory
$f3->set('v_confirmations', json_decode($f3->get('SESSION.confirmations')) ? : array());
$f3->set('v_confirmations', $f3->get('SESSION.confirmations') ? json_decode($f3->get('SESSION.confirmations')) : array());
// Creating v_confirmations_element_ids, simply for ease of checking quickly if there are any
// confirmations, especially for use in the template files.
$element_ids = array();
Expand Down

0 comments on commit d185a8c

Please sign in to comment.