Skip to content

Commit

Permalink
echo?
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcorbett committed Oct 11, 2023
1 parent 72a8480 commit e6c0c91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Gocdb_Services/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ private function validate($siteData, $type) {
require_once __DIR__.'/Validate.php';
$serv = new \org\gocdb\services\Validate();
foreach($siteData as $field => $value) {
echo $field;
$valid = $serv->validate($type, $field, $value);
if(!$valid) {
$error = "$field contains an invalid value: $value";
Expand Down

0 comments on commit e6c0c91

Please sign in to comment.