Skip to content
This repository has been archived by the owner on Sep 13, 2018. It is now read-only.

Commit

Permalink
Fixed a small bug in drop/error.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Dec 18, 2010
1 parent 0f9454e commit f96aff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drop/boot.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@

/**
* Basic class for various validation techniques
* Usage: "$Validation->"
* Usage: "Validation::"
*/
require_once CORE.'validation.php';

Expand Down
2 changes: 1 addition & 1 deletion drop/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function validationClass($className) {
/**
* No Unhandled Validation method
*/
function validationClass($method,$classname) {
function validationMethod($method,$classname) {
$this->code = "<?php\nclass $classname {\n\n\tfunction $method() {\n\t}\n}\n?>";
$this->msg = "<b>Missing validation method</b>: $method";
$this->sug = "Create <b>$classname::$method()</b> in <b>".CORE."validation.php</b>";
Expand Down

0 comments on commit f96aff7

Please sign in to comment.