Skip to content

Commit

Permalink
v1.0.07
Browse files Browse the repository at this point in the history
  • Loading branch information
SKuipers committed Jan 12, 2022
1 parent 87b913f commit 8feb7b5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
5 changes: 5 additions & 0 deletions Stream/CHANGEDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@
$sql[$count][0] = '1.0.06';
$sql[$count][1] = "
";

//v1.0.07
$sql[$count][0] = '1.0.07';
$sql[$count][1] = "
";
4 changes: 4 additions & 0 deletions Stream/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CHANGELOG
=========
v1.0.07
-------
Fixed Validator class to instantiate using the container

v1.0.06
-------
Removed deprecated function calls
Expand Down
2 changes: 1 addition & 1 deletion Stream/manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
$entryURL = 'stream.php';
$type = 'Additional';
$category = 'Other';
$version = '1.0.06';
$version = '1.0.07';
$author = 'Sanda Kuipers, Harry Merrett & Ross Parker';
$url = 'https://gibbonedu.org';

Expand Down
3 changes: 1 addition & 2 deletions Stream/posts_manage_addProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
$partialFail = false;

// Sanitize the whole $_POST array
$validator = new Validator($session);
$_POST = $validator->sanitize($_POST);
$_POST = $container->get(Validator::class)->sanitize($_POST);

$data = [
'gibbonSchoolYearID' => $session->get('gibbonSchoolYearID'),
Expand Down
3 changes: 1 addition & 2 deletions Stream/posts_manage_editProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
$partialFail = false;

// Sanitize the whole $_POST array
$validator = new Validator($session);
$_POST = $validator->sanitize($_POST);
$_POST = $container->get(Validator::class)->sanitize($_POST);

$data = [
'post' => $_POST['post'] ?? '',
Expand Down
2 changes: 1 addition & 1 deletion Stream/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
/**
* Sets version information.
*/
$moduleVersion = '1.0.06';
$moduleVersion = '1.0.07';

0 comments on commit 8feb7b5

Please sign in to comment.