mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
4eb435e148
commit
2b9e4110bc
|
@ -63,13 +63,7 @@ class ValidationServiceProvider extends ServiceProvider
|
||||||
* `unique_undeleted:table,fieldname` in your rules out of the box
|
* `unique_undeleted:table,fieldname` in your rules out of the box
|
||||||
*/
|
*/
|
||||||
Validator::extend('unique_undeleted', function ($attribute, $value, $parameters, $validator) {
|
Validator::extend('unique_undeleted', function ($attribute, $value, $parameters, $validator) {
|
||||||
|
|
||||||
\Log::debug('Parameters: ');
|
|
||||||
\Log::debug(print_r($parameters, true));
|
|
||||||
|
|
||||||
\Log::debug('Attribute: '. $attribute);
|
|
||||||
\Log::debug('Value: '. $value);
|
|
||||||
|
|
||||||
if (count($parameters)) {
|
if (count($parameters)) {
|
||||||
|
|
||||||
// This is a bit of a shim, but serial doesn't have any other rules around it other than that it's nullable
|
// This is a bit of a shim, but serial doesn't have any other rules around it other than that it's nullable
|
||||||
|
|
Loading…
Reference in a new issue